Onboarding

Alias of POST /api/register

Identical to POST /api/register: an empty body returns a sandbox API key at once. Kept because some clients try this path first; /register and /signup are the same door.

post/api/agents/register

Request

  • Base URL: https://www.adadiamonds.com
  • URL: https://www.adadiamonds.com/api/agents/register
  • Auth: none required

Request body

namestring required

A short label for this key.

env'sandbox' | 'production'
scopesstring[]
contact_emailstring email

Example request

{
  "name": "my-shopping-agent"
}

Response

The key. Store it now; it is not retrievable.

object'api_key' required
api_keystring required

Shown once. Store it.

key_idstring required
namestring
scopesstring[] required
env'sandbox' | 'production' required
usagestring
documentation_urlstring uri

Changes

No recorded changes to this operation across all 1 revision of this API.