Create a callback secret

Creates a new secret that may be used by API callbacks.

When an api_secret is assigned to a Service Profile with an API callback, API requests towards this URL will contain an Authorization header with a JSON Web Token. The api_secret is used as the Signing Key of the JWT.

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the /api/v1/authenticate POST request.

Request

This endpoint expects an object.
organisation_idstringOptional
purposestringOptional
idintegerOptional

Response

Resource Created