Skip to content

Context Register API - 10DLC Management (1.0.0)

Overview

The Context Register API provides comprehensive registration and compliance management for 10DLC messaging services.

Languages
Servers
Mock server
https://context-docs.sabrhub.com/_mock/specs/contextregister.external
Production Environment (live)
https://contextregister.sabrhub.com/api/v1
User Management Auth Dev
https://usermanagement.sabrhub.com/v1

Brand Management

APIs for retrieving and managing brand information, including listing all brands and fetching details of a specific brand.

Operations

Campaign Management

APIs for accessing and managing all campaigns and related messages for a specific brand, including campaign details, messaging content, activity tracking, and operational metadata.

Operations

Request

Fetches campaigns by brand associated with a specific company.

Security
BearerAuth
Path
brand_idintegerrequired

Unique identifier for the brand

curl -X GET "https://sabarhub.com/api/brand/10/campaigns" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json"

Responses

A list of campaigns associated with the brand

Response
No content

Request

Fetches messages by brand associated with a specific company.

Security
BearerAuth
Path
brand_idintegerrequired

Unique identifier for the brand

curl -X GET "https://sabarhub.com/api/brand/10/messages" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json"

Responses

Successful response

Bodyapplication/json
messagesArray of objects
Response
application/json
{ "messages": [ {} ] }

Request

Fetches message by messageId associated with a specific company.

Security
BearerAuth
Path
brand_idintegerrequired

Unique identifier for the brand

message_idintegerrequired

Unique identifier for the message

curl -i -X GET \
  'https://context-docs.sabrhub.com/_mock/specs/contextregister.external/api/brand/{brand_id}/messages/{message_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful response - Message object

Bodyapplication/json
messageobject
Response
application/json
{ "message": { "id": 98, "subject": "Notification", "date": "2025-03-21T13:00:02", "body": "<p>Brand Registration created</p>", "description": "Brand Registration created", "preview": "Brand Registration created", "link_preview_ids": [], "reaction_ids": [], "attachment_ids": [], "parent_id": 0, "child_ids": [], "model": "brand.model", "res_id": 10, "record_name": "string", "record_alias_domain_id": 0, "record_company_id": 0, "message_type": "notification", "subtype_id": [], "mail_activity_type_id": 0, "is_internal": true, "email_from": "\"Bay Cove Human Services Inc.\" <baycove@test.com>", "author_id": [], "author_avatar": "string", "author_guest_id": true, "is_current_user_or_guest_author": true, "partner_ids": [], "notified_partner_ids": [], "needaction": true, "has_error": true, "notification_ids": [], "starred_partner_ids": [], "pinned_at": "2019-08-24T14:15:22Z", "starred": true, "tracking_value_ids": [], "reply_to_force_new": true, "message_id": "<619271867203022.1742562002.637557029724121-openerp-message-notify@e8acb5704666>", "reply_to": "\"Bay Cove Human Services Inc.\" <baycove@test.com>", "mail_server_id": 0, "email_layout_xmlid": "string", "email_add_signature": true, "mail_ids": [], "display_name": "string", "create_uid": [], "create_date": "2025-03-21T13:00:02.536390", "write_uid": [], "write_date": "2025-03-21T13:00:02.536390", "has_sms_error": true, "snailmail_error": true, "letter_ids": [] } }