Skip to main content
POST
/
programmatic
/
login
cURL
curl -X POST https://apx.didit.me/auth/v2/programmatic/login/ \
  -H "Content-Type: application/json" \
  -d '{
    "email": "you@yourdomain.com",
    "password": "MyStr0ng!Pass"
  }'
{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_in": 86400,
  "message": "Login successful"
}

Documentation Index

Fetch the complete documentation index at: https://docs.didit.me/llms.txt

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

Authorizations

x-api-key
string
header
required

Body

application/json
email
string<email>
required
Example:

"you@yourdomain.com"

password
string
required
Example:

"MyStr0ng!Pass"

Response

Login successful. Returns a fresh JWT pair. Use the access_token as Authorization: Bearer <token> against /organizations/me/... to look up the org_id, app_id, and api_key.

access_token
string

RS256-signed JWT. Use as Authorization: Bearer <token> for Account Management endpoints.

refresh_token
string
expires_in
integer

Lifetime of the access token in seconds (default 86400).

Example:

86400

message
string
Example:

"Login successful"