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",
      "createdAt": "2020-01-01T00:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
Payload to create bulk aliases

Create bulk alias

aliases
object[]
required

Create an alias

Response

201
application/json
Response for list aliases request

Represents for list response of alias

data
object[]

Represents an Alias

nextToken
string