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":"0f4e37ad-0da2-4533-8729-815e550a6355"}'
Request examples
{
  "name": "The name of the personal access token",
  "password": "The password of the user for verification",
  "account_uuid": "0f4e37ad-0da2-4533-8729-815e550a6355"
}
Response examples (401)
{
  "message": "Unauthenticated."
}