Endpoints for authentication and access to the User Management API.
Authenticate and Obtain an Access Token
To use the User Management API, you need an API key with the usage Users. You create and manage API keys on the API key page in your business profile.
⚠ Note The User Management API accepts only API keys with the usage Users. API keys for the Sign API do not work here. You set the usage when you create the key, and you cannot change it later.
The Usage column on the API key page appears only after Skribble enables the User Management API for your business. It is available only to businesses on the Scale plan. For help, contact us at support@skribble.com.
To obtain an access token, authenticate with the /access/login endpoint.
Send the user name and the API key of your Users key. You can pass
them as raw JSON or as x-www-form-urlencoded key-value pairs (see
example requests). Skribble shows the API key only once, when you create
it.
If the authentication is successful, the endpoint returns a JSON Web Token (JWT). You must include this JWT in every other request to the User Management API.
You send the access token in the Authorization HTTP header with the
Bearer scheme. Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI...
Token life cycle
API key
API keys have a long but finite lifetime. The validity period depends on the volume of API calls and is agreed upon individually as part of the shared secret agreement.
Access token
Access tokens have a lifetime of approximately 20 minutes. Automatic token renewal is not currently supported.
Logout
There is no logout endpoint. Access tokens expire automatically after the defined lifetime.
Authenticate and Obtain an Access Token › Request Body
usernameThe user name of an API key with the usage Users.
api-keyThe API key of an API key with the usage Users.
Authenticate and Obtain an Access Token › Responses
OK
JSON Web Token (JWT)
