Getting Started›Authentication

Authentication

Get your API key and format your first authenticated request.

Shape authenticates every request with an API Authorization Key sent in the request header. There are no per-request signatures or token exchanges — send the raw key on each call and you’re set.

Get your API key

Open the API Integrations page in your Shape account and request a key from the Shape Open API integration. If you don’t see that page, ask your system administrator to enable it or share the key.

Treat your API key like a password. Keep it in a secret manager or environment variable, never in client-side code or version control.

Request headers

Send the raw key in the Authorization header. Endpoint paths end with your {crmid}:

Authorization: YOUR_API_AUTHORIZATION_KEY
Content-Type: application/json

A complete request

A minimal authenticated call, including the {crmid} path parameter:

curl --request GET 
  --url "https://secure-api.setshape.com/api/get/statuses/YOUR_CRM_ID" 
  --header "Authorization: YOUR_API_AUTHORIZATION_KEY" 
  --header "Accept: application/json"

Authentication errors

Situation Status Response
No Authorization header 404 {"message": "Invalid request ERR-OA506"}
API key not recognized 401 {"message": "Bad Authorization Key ERR-OA507"}
API key’s system not found 401 {"message": "Invalid request, company not found ERR-OA508"}
System not active 401 {"message": "Company is not active, contact support ERR-OA509"}
Daily request limit reached 429 {"message": "Open API request limit of … has been reached. Please contact support to raise your limit ERR-OA510"}
A missing header returns 404, not 401. If you get a 404 on a URL you know is right, check that the Authorization header is there.