Skip to main content
GET
/
v1
/
agent-auth
/
token
/
{token}
Poll for Agent Authorization Result
curl --request GET \
  --url https://api.casparser.in/v1/agent-auth/token/{token}
{
  "status": "pending"
}

Path Parameters

token
string
required

The token the agent generated locally and included in the approval URL.

Required string length: 16 - 128
Example:

"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2a3b4c5d6a7b8c9d0e1f2"

Response

Current authorization status

status
enum<string>
Available options:
pending