Skip to content
Nofy by Encipher Docs

Authentication

Create a token

Mint a client-credentials token

POST https://nofy.encipher.co.tz/v1/oauth2/token/

Exchanges your client id and secret for a Bearer token. Use it on every call until expires_in seconds pass, then mint another. The body is form-encoded, not JSON.

Authorizations

None. This endpoint authenticates with the client id and secret in the body.

Body application/x-www-form-urlencoded

grant_type string required

Always client_credentials.

Available options: client_credentials

client_id string required

Your OAuth application's client id.

client_secret string required

The secret issued with it. Keep it on your servers.

Responses

200 A Bearer token.
401 Unknown client or wrong secret.
Read the guideAuthentication
Esc
↑↓ to move↵ to open