Skip to main content
POST
/
v2
/
auth
/
authenticate
Authenticate
curl --request POST \
  --url https://api.example.com/v2/auth/authenticate \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "<string>",
  "provider": "<string>",
  "scopes": [
    "<string>"
  ],
  "ls_user_id": "<string>",
  "agent_id": "<string>",
  "use_agent_builder_public_oauth": false
}
'
{
  "url": "<string>",
  "auth_id": "<string>",
  "token": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-srimpr-1771619406-31dcf4f.mintlify.app/llms.txt

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

Body

application/json

Auth authenticate request.

user_id
string
required
provider
string
required
scopes
string[]
required
ls_user_id
string | null
agent_id
string | null
use_agent_builder_public_oauth
boolean
default:false

Response

Successful Response

Auth authenticate response.

status
enum<string>
required

Valid authentication status values.

Available options:
completed,
pending
url
string | null
auth_id
string | null
token
string | null