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":"e67D1Tqcfsq0","account_uuid":"24fa85fe-0877-4d36-84ff-f55ce6a72ea6"}'
Request examples
{
  "name": "Zapier",
  "password": "e67D1Tqcfsq0",
  "account_uuid": "24fa85fe-0877-4d36-84ff-f55ce6a72ea6"
}
Response examples (401)
{
  "message": "Unauthenticated."
}