POST /api/v1/integrations/salesforce
Requires Bearer token.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
action | string | ✓ | Action: sync, test_connection, or list_objects. | |
object_type | string | Location__c | Salesforce custom object type. | |
records | array | Array of location records to sync (required for sync action). |
| Field | Type | Description |
|---|---|---|
connected | boolean | Whether the Salesforce connection is active. |
org_id | string | Salesforce org identifier. |
POST /api/v1/keys
Requires Bearer token.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
action | string | ✓ | Action: create, list, or revoke. | |
name | string | Human-readable key name (required for create). | ||
scopes | array | Endpoint scopes. Omit for full access. | ||
key_id | string | Key ID to revoke (required for revoke action). |
| Field | Type | Description |
|---|---|---|
key.id | string | Key identifier for management operations. |
key.token | string | Full API key (only shown once on creation). |
key.scopes | array | Endpoint scopes this key can access. |