Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 1.12 KB
title menu category category_order order permalink
API Authenticate

For some API features you'll need to authenticate. You can do this with an Api-Key-header where the key starts with sa_api_key_....

In your account settings you can create this key.

To test if your API key works correctly you can replace the example values of this cURL example with your own:

curl "" \
     -H 'Content-Type: application/json' \
     -H 'Api-Key: sa_api_key_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

For some API calls you'll need a user ID:

curl "" \
     -H 'Content-Type: application/json' \
     -H 'Api-Key: sa_api_key_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
     -H 'User-Id: sa_user_id_00000000-0000-0000-0000-000000000000'

Your user ID is shown in your account settings.

If you have any problems, drop us a line via [our contact page]({{ site.hostname }}).

You can’t perform that action at this time.