Documentation Index
Fetch the complete documentation index at: https://docs.play2sell.com/llms.txt
Use this file to discover all available pages before exploring further.
API Key Management
API keys let your integrations authenticate with SalesOS using the P2S-SIGN-V1 signed-request scheme. Keys are created and managed exclusively through the SalesOS Dashboard.API key management requires the admin.integrations capability. Tenant owners and admins have this by default.
Create a key
Open the Dashboard
Go to dashboard.play2sell.com (or staging) and log in with your admin account.
Create a new key
Click Create API Key and fill in:
- Name — A descriptive name (e.g., “CRM Nightly Sync”, “Website Forms”)
- Scope — Select
default:syncfor standard integrations - Rate limit — Requests per hour (default: 1,000)
- Expiration — Optional expiry date
Copy both values
After creation, the Dashboard displays two values, only once:
- API Key — the public identifier, e.g.
sk_live_a1b2c3d4.... Sent in theAuthorizationheader on every signed request. - API Key Secret — used to compute the request signature. Never sent over the wire.
Manage existing keys
The same Integrations > API Keys screen lets you:- View all active, revoked, and expired keys (the secret is never displayed again)
- Revoke a key — immediately stops it from working, preserving audit history
- Delete a key — permanently removes it (prefer revoking)
- Monitor usage — see request count and last-used date
Available scopes
| Scope | Grants access to |
|---|---|
default:sync | sync_collaborators and sync_activities endpoints |
leads:read | Read lead data |
leads:write | Create and update leads |
An empty
scopes selection means the key has no scope restriction — it can access any endpoint that accepts API key auth.Best practices
Use multiple keys for different integrations
Use multiple keys for different integrations
Create separate keys for each integration (CRM sync, website forms, partner API). This way, if one key is compromised, you only need to rotate that one.
Set expiration dates
Set expiration dates
Keys without expiration live forever. Set an expiry to enforce regular rotation — 90 days is a good default.
Use minimal scopes
Use minimal scopes
If a key only needs to sync activities, give it
default:sync only. Don’t leave scopes empty unless the key truly needs full access.Monitor usage
Monitor usage
Check the request count and last-used date on the Dashboard list. Keys that haven’t been used in months may be candidates for revocation.
Rotate keys without downtime
Rotate keys without downtime
- Create a new key in the Dashboard
- Update your integration to use the new key + secret
- Verify the new key works
- Revoke the old key
Next steps
Authentication
Learn the P2S-SIGN-V1 signing scheme with code samples
Activities Integration
Start sending activities with your new key

