Get enterprise metadata
Returns workspace-level info: name, ID, creation timestamp, team size, industry, website, the lead identifier field ID, and active integrations.
Request
| Field | Value |
|---|---|
| Method | GET |
| URL | https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/metadata |
| Auth | Bearer token (Sync-typed). See Authentication. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
enterpriseId | string | yes | The enterprise (workspace) ID. |
Example request
bash
curl "https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/metadata" \
-H "Authorization: Bearer YOUR_SYNC_TOKEN"Responses
200 OK
json
{
"name": "Acme Corporation",
"id": "ent_123456",
"creationTimeStamp": 1609459200000,
"teamSize": "50-100",
"industry": "Technology",
"website": "https://acme.com",
"leadIdentifierFieldId": "phone",
"integrations": ["WHATSAPP", "EMAIL", "SMS"]
}leadIdentifierFieldId is the ID of the field used as the workspace's lead identifier. Match it against customFields[].id from GET /custom-fields?detail=true to discover which field is the identifier (and its API name).
401 Unauthorized
See the universal 401 in the overview.
404 Not Found
json
{
"error": {
"code": "ENTERPRISE_NOT_FOUND",
"message": "The enterprise with ID 62ab16e was not found."
}
}