Skip to main content
See also the API reference for more detail.

Usage

Agent First‘s administration service lets you support your whitelabel customers. The service has a RESTful interface that accepts GET, POST, PATCH, and DELETE requests at https://‍api.agentfirst.dev/users.
This endpoint is rate limited; if you receive a 429 response, pause for the backoff time required by the Retry-After header before making another request.

New customers

You can provision a user by specifying their email address and, optionally, the API credits to preload their account with:
The user’s secret API token will be returned, along with their normalized email address and any credits:
Here are the provisioning request keys and values: Here are the response keys and values:

Customer deactivation

Disable an account with the associated email address:
The API will confirm that account no longer has credits:
This is the deprovisioning request key and value: These are the response keys and values: