A REST API for third-party agents. Read and write contacts, conversations, appointments, notes, and organizations with a scoped API key.
Every request is authenticated with an API key passed as a Bearer token. Keys are prefixed spk_ and carry a fixed set of scopes — each endpoint in the reference lists the scope it requires.
Authorization: Bearer spk_live_<your_key>A key only reaches the endpoints whose scope it holds. A request to an endpoint outside the key's scopes is rejected with 403 INSUFFICIENT_SCOPE. Internal and administrative endpoints are not part of this API and cannot be reached with an API key.
The base URL is https://api.salespartnercrm.com/api/v2. List the contacts your key can see:
curl https://api.salespartnercrm.com/api/v2/contacts \
-H "Authorization: Bearer spk_live_<your_key>"Create a contact (requires the contacts:write scope):
curl -X POST https://api.salespartnercrm.com/api/v2/contacts \
-H "Authorization: Bearer spk_live_<your_key>" \
-H "Content-Type: application/json" \
-d '{"firstName":"Ada","lastName":"Lovelace"}'The full endpoint reference, with request and response schemas, is below.