Send Message to Recipient
Retrieve Sent Message by MessageId
Register OTT Property
Retrieve Registration Property by Platform and Id
Retrieve Registration Collection by Platform
Retrieves paginated collection of registered OTT properties by OTT Platform.
| Name | Type | Description | |
|---|---|---|---|
| platform | string | Required | OTT Platform Name of property |
| $page | number | Page number to return from the paged results. Start with 1 and continue until you get zero results. Typically provided along with the $pagesize parameter. | |
| $pagesize | number | Number of results per page to return. Typically provided along with the $page parameter. |
| Status | Name | Type | Description |
|---|---|---|---|
| 200 | success | ||
| count | string | Total count of the number of resources registered for a specific OTT network. | |
| page | string | Page Number of the results returned. | |
| pageSize | string | Page size of the results returned. | |
| links | object | Pagination links. | |
| links.self | object | Link to the current page of result set. | |
| links.self.href | string | URL to the current page of the result set. | |
| links.previous | object | Link to the previous page of result set. | |
| links.previous.href | string | URL to the previous page of the result set. | |
| links.next | object | Link to the next page of result set. | |
| links.next.href | string | URL to the next page of the result set. | |
| items | array | Indicates the name of the OTT network the resource is being registered with values: line, messenger. | |
| items.ottPlatformName | string | Indicate the name of the OTT network the resource is being registered with values: line, messenger. | |
| items.ottPlatformAttributes | object | Object containing OTT platform attributes. | |
| items.ottPlatformAttributes.applicationId | string | Facebook Application Id. Required for registering Messenger resource. | |
| items.ottPlatformAttributes.pageId | string | Facebook Page Id. Required for registering Messenger resource. | |
| items.ottPlatformAttributes.pageName | string | Facebook Page Name. Required for registering Messenger resource. | |
| items.ottPlatformAttributes.endpointUrl | string | Send API url of the OTT network. | |
| items.ottPlatformAttributes.isActive | integer | Indicate if the OTT resource is active with values: 0 (Inactive), 1 (Active). | |
| items.ottPlatformAttributes.channelId | string | LINE channel Id. Required for registering LINE resource. | |
| items.ottPlatformAttributes.channelName | string | LINE channel name. Required for registering LINE resource. | |
| items.ottPlatformAttributes.isTransactional | integer | Indicate if LINE channel is Transactional or Reseller with values: 0 (Reseller), 1 (Transactional). | |
| items.ottPlatformAttributes.isTestChannel | integer | Indicate if LINE channel is a Test channel with values: 0 (Not a test channel), 1 (test channel). | |
| 400 | Bad Request | ||
| message | string | Error message. | |
| errorcode | number | Error code. | |
| documentation | string | Documentation for the error code. | |
| validationErrors | array | Validation errors in the request payload. | |
| 403 | Forbidden | ||
| message | string | Error message. | |
| errorcode | number | Error code. | |
| documentation | string | Documentation for the error code. | |
| 404 | Not Found | ||
| message | string | Error message. | |
| errorcode | number | Error code. | |
| documentation | string | Documentation for the error code. |
1Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
2GET /ott/v1/registration/messenger
3Content-Type: application/json
4Authorization: Bearer YOUR_ACCESS_TOKEN1HTTP/1.1 200 OK
2
3{
4 "count": 2,
5 "page": 1,
6 "pageSize": 50,
7 "links": {
8 "self": {
9 "href": "/v1/registration/messenger?%24page=1&%24pagesize=50"
10 },
11 "next": {
12 "href": "/v1/registration/messenger?%24page=2&%24pagesize=50"
13 }
14 },
15 "items": [
16 {
17 "ottPlatformName" : "messenger",
18 "ottPlatformAttributes" : {
19 "applicationId" : "34234534532453",
20 "pageId" : "2343543434231436453",
21 "pageName" : "SFMC Engineers",
22 "endpointUrl" : "https://example.com/23534564423435",
23 "isTransactional" : true,
24 "isTestChannel": false,
25 "isActive": true,
26 "apiVersion" : "v2.0"
27 }
28 },
29 {
30 "ottPlatformName" : "messenger",
31 "ottPlatformAttributes" : {
32 "applicationId" : "1232134234",
33 "pageId" : "21342354235",
34 "pageName" : "Some Awesome Page",
35 "endpointUrl" : "https://example.com/3124234234",
36 "isTransactional" : true,
37 "isTestChannel": false,
38 "isActive": true,
39 "apiVersion" : "v2.0"
40 }
41 }
42 ]
43}1Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
2GET /ott/v1/registration/line?$page=1&$pagesize=50
3Content-Type: application/json
4Authorization: Bearer YOUR_ACCESS_TOKEN1HTTP/1.1 200 OK
2
3{
4 "count": 2,
5 "page": 1,
6 "pageSize": 50,
7 "links": {
8 "self": {
9 "href": "/v1/registration/line?%24page=1&%24pagesize=50"
10 },
11 "next": {
12 "href": "/v1/registration/line?%24page=2&%24pagesize=50"
13 }
14 },
15 "items": [
16 {
17 "ottPlatformName" : "line",
18 "ottPlatformAttributes" : {
19 "channelId" : "342135435345",
20 "channelName" : "SFMC Engineers",
21 "endpointUrl" : "https://example.com/213234231213",
22 "isTransactional" : true,
23 "isTestChannel": false,
24 "isActive": true,
25 "apiVersion" : "v2.0"
26 }
27 },
28 {
29 "ottPlatformName" : "line",
30 "ottPlatformAttributes" : {
31 "channelId" : "324345436452342345",
32 "channelName" : "Some Awesome Channel",
33 "endpointUrl" : "https://example.com/3124325345234234",
34 "isTransactional" : true,
35 "isTestChannel": false,
36 "isActive": true,
37 "apiVersion" : "v2.0"
38 }
39 }
40 ]
41}