Create a personal access token

POST /api/v1/personal-access-tokens
application/json

Body Required

  • name string Required

    Zapier

  • password string Required

    secret

  • account_uuid string

    The UUID of the account you would like the token to be used for.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/personal-access-tokens
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/personal-access-tokens' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"The name of the personal access token","password":"The password of the user for verification","account_uuid":"da13c9cf-fd71-4de2-88f4-bad4a0134b02"}'
Request examples
{
  "name": "The name of the personal access token",
  "password": "The password of the user for verification",
  "account_uuid": "da13c9cf-fd71-4de2-88f4-bad4a0134b02"
}
Response examples (401)
{
  "message": "Unauthenticated."
}