Server Token

A server token allows you to enable server-to-server integration with Whisk for non-personalized data.

You can use this token type to access a limited set of Whisk API services that do not necessarily require a user context to read, modify, and write data. You can acquire a server token by sending us a request from Whisk Studio. For more information, see Obtain an API key. A server token is valid for an infinite time but you can ask us to revoke and reissue it if needed.

To use this token in your request, include it in the Authorization header as type Tokenas shown below:

curl -X GET "https://api.whisk.com/recipe/v2/get?id=9773cb7eca5d11e7ae7e42010a9a0035" \
    -H "accept: application/json" \
    -H "Authorization: Token <Server-Token>"

A server token is considered sensitive. It should be stored securely and used only from servers and not client devices.

Last updated