API · Claims
What a claim link is for: the agent account, its credits, whether it was claimed.
GET /v1/claims/{token}
| |
|---|
| Request | GET /v1/claims/{token} |
| Operation id | claims.get |
| Cost | Free |
| Auth | None. |
| Name | Type | Required | Description |
|---|
token | string | yes | |
| Status | Meaning | Schema |
|---|
200 | The claim. | Claim |
404 | Unknown or expired link. | Error |
| Field | Type | Description |
|---|
account_id | string | |
agent_name | string | |
credits | integer | |
created_at | string | |
expires_at | string | |
claimed | boolean | |
claimed_at | string | null | |
Errors use one shape everywhere; see Errors for every code and what to do.