POST
/
aliases
curl --request POST \
  --url https://api.togai.com/aliases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aliases": [
    {
      "value": "alias1"
    }
  ]
}'
{
  "data": [
    {
      "value": "acme_primary",
      "createAt": "2020-01-01T00:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
aliases
object[]
required

Response

201 - application/json
data
object[]
nextToken
string