Subscribe API
The Subscribe API provides the capability to follow a specific domain using a key and receive real-time signals and updates relevant to that domain, eliminating the need to repeatedly monitor it manually.
Endpoint Details:
- URL: https://signals.smarte.pro/signals/v1/domains/subscribe
- Method: POST
Input Parameters
Required Headers:
Header | Value Type | Required | Description |
---|---|---|---|
Api-key | string | Yes | API key |
Content-Type | string | Yes | Must be application/json |
Request Body Parameters:
Parameter | Type | Required | Description |
---|---|---|---|
comp_domain | string | Yes | Company Domain which needs to be subscribed |
comp_guid | string | Yes | GUID of Company which needs to be subscribed |
Sample
Request
curl --location 'https://signals.smarte.pro/signals/v1/domains/subscribe' \
--header 'Content-Type: application/json' \
--header 'Api-Key: Id9h4v9sNYxhC6CxMCTm4i2gHC9u/CeGp1mxXoTA3vs=' \
--data '{
"company_guid": "1C2B1CBDE4A2DB11",
"company_domain": "sanofi.com"
}'
Success Response
{
"status": "success",
"code": 200,
"company_guid": "1C2B1CBDE4A2DB11",
"company_domain": "sanofi.com",
"message": "Company domain 'sanofi.com' successfully subscribed"
}