Skip to main content

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:

Input Parameters

Required Headers:

HeaderValue TypeRequiredDescription
Api-keystringYesAPI key
Content-TypestringYesMust be application/json

Request Body Parameters:

ParameterTypeRequiredDescription
comp_domainstringYesCompany Domain which needs to be subscribed
comp_guidstringYesGUID 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"
}