Skip to main content
POST
/
monitoring
/
subscriptions
Subscribe a customer or business to monitoring
curl --request POST \
  --url https://api.synctera.com/v2/monitoring/subscriptions \
  --header 'Content-Type: application/json' \
  --data '{
  "business_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
  "metadata": {},
  "person_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96"
}'
{
  "business_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96",
  "creation_time": "2010-05-06T12:23:34.321Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "last_updated_time": "2010-05-06T12:23:34.321Z",
  "metadata": {},
  "person_id": "b01db9c7-78f2-4a99-8aca-1231d32f9b96"
}

Body

application/json

The monitoring subscription.

business_id
string<uuid>

Unique ID for the business. Exactly one of business_id or person_id must be set.

Example:

"b01db9c7-78f2-4a99-8aca-1231d32f9b96"

metadata
object

Optional field to store additional information about the resource. Intended to be used by the integrator to store non-sensitive data.

person_id
string<uuid>

Unique ID for the person. Exactly one of person_id or business_id must be set.

Example:

"b01db9c7-78f2-4a99-8aca-1231d32f9b96"

Response

The new monitoring subscription.

business_id
string<uuid>

Unique ID for the business. Exactly one of business_id or person_id must be set.

Example:

"b01db9c7-78f2-4a99-8aca-1231d32f9b96"

creation_time
string<date-time>

The date and time the resource was created.

Example:

"2010-05-06T12:23:34.321Z"

id
string<uuid>

Unique identifier for this subscription.

last_updated_time
string<date-time>

The date and time the resource was last update.

Example:

"2010-05-06T12:23:34.321Z"

metadata
object

Optional field to store additional information about the resource. Intended to be used by the integrator to store non-sensitive data.

person_id
string<uuid>

Unique ID for the person. Exactly one of person_id or business_id must be set.

Example:

"b01db9c7-78f2-4a99-8aca-1231d32f9b96"