POST
/
users
/
authorization
curl --request POST \
  --url https://api.village.do/v1/users/authorization \
  --header 'Content-Type: application/json' \
  --header 'secret-key: <api-key>' \
  --header 'user-identifier: <user-identifier>' \
  --data '{
  "email": "[email protected]"
}'
{
  "token": "example-token"
}

Authorizations

secret-key
string
header
required

Headers

user-identifier
string
required

Specify the user making the request. This identifier should match the one you used when integrating the user with Village.

Body

application/json

Response

200
application/json

Token generated successfully

The response is of type object.