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":"74MRlgST7l1q","account_uuid":"fe798a2a-3f69-4057-a179-957e8a5959de"}'
Request examples
{
  "name": "Zapier",
  "password": "74MRlgST7l1q",
  "account_uuid": "fe798a2a-3f69-4057-a179-957e8a5959de"
}
Response examples (401)
{
  "message": "Unauthenticated."
}