Skip to main content
POST
/
updateTwitterAuth
Update Twitter auth code
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/updateTwitterAuth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auth_code": "abc123def456",
  "redirect_uri": "https://example.com/callback"
}
'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
auth_code
string
required
Example:

"abc123def456"

redirect_uri
string
required
Example:

"https://example.com/callback"

Response

200

Twitter auth updated