api.unkey.dev/v1 (deprecated)
cURL
curl --request POST \ --url https://api.unkey.dev/v1/identities.createIdentity \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "externalId": "user_123", "meta": {}, "ratelimits": [ { "name": "tokens", "limit": 10, "duration": 1000 } ] }'
{ "identityId": "id_123" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The configuration for an api
The response is of type object.
object
Was this page helpful?