POST
/
portal
/
token
curl --request POST \
  --url https://api.togai.com/portal/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerId": "acme_cust",
  "allAccountsAccess": true,
  "expiry": 60000
}'
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Payload to get delegate token for customer portal

Request to get delegate token for customer portal

Response

200
application/json

OK

The response is of type object.