Skip to main content
POST
/
auth
/
device-codes
Create device code
curl --request POST \
  --url https://api.sevalla.com/v3/auth/device-codes
{
  "code": "ABCD1234",
  "expires_at": "2025-06-01T12:05:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://api-docs.sevalla.com/llms.txt

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

Response

Default Response

code
string
required

The device code to display to the user. The user enters this code in the Sevalla dashboard to authorize the device

Example:

"ABCD1234"

expires_at
string
required

ISO 8601 timestamp when the device code expires. Codes are valid for 5 minutes

Example:

"2025-06-01T12:05:00.000Z"