Skip to main content

API keys

Quick guide​

Every request carries an API key in the X-Api-Key header. These endpoints need a key with the AUTHENTICATION operation.

  1. Create a key with POST /authentication, with only the operations it needs. Store its value right away: it is shown only once.
  2. Check a stored key with GET /authentication/me, which also returns its operations.
  3. Revoke a key you no longer use with DELETE /authentication/{id}. The Platform API refuses it at once, while the messaging API can accept it for up to 24 hours.

The operations limit a key on the Platform API only, where a call outside them answers 401. The messaging API accepts any key of your account.

Use cases: UC-020: API Key Management