application/json

Body

  • name string Required

    The name of the personal access token

  • password string(password) Required

    The password of the user for verification

  • account_uuid string(uuid)

    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":"Zapier","password":"M6ELhD1Jdu1z","account_uuid":"0c24a8aa-8db3-4a40-899e-0e33da9e24c7"}'
Request examples
{
  "name": "Zapier",
  "password": "M6ELhD1Jdu1z",
  "account_uuid": "0c24a8aa-8db3-4a40-899e-0e33da9e24c7"
}
Response examples (401)
{
  "message": "Unauthenticated."
}