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":"vy2pEJOD2VUn","account_uuid":"52d22a4c-ee65-4ef5-aea7-20010d391929"}'
Request examples
{
  "name": "Zapier",
  "password": "vy2pEJOD2VUn",
  "account_uuid": "52d22a4c-ee65-4ef5-aea7-20010d391929"
}
Response examples (401)
{
  "message": "Unauthenticated."
}