Pinnacle
App · 19 actions
Send and validate messages and read contacts, conversations, call events and phone numbers.
Actions
| Action | What it does |
|---|---|
| Get Call | Retrieve one voice call by its Pinnacle call ID. |
| Get Contact | Retrieve contact information for a given number. |
| Get Conversation | Fetch a specific conversation using either its unique identifier or by matching sender and recipient details. |
| Get Message by ID | Retrieve a previously sent message. |
| Get Phone Number Status | Retrieve a phone number's order status and campaign attachment status. |
| List Audiences | List all audiences with optional filtering and pagination. |
| List Call Events | List the event timeline for a call. |
| List Calls | List voice calls for your team. |
| List Contacts | List all contacts with optional filtering and pagination. |
| List Conversation Messages | Retrieve a paginated and filtered list of messages for a specific conversation. |
| List Conversations | Retrieves conversations by page with optional filtering based off provided parameters. |
| List Messages | List all messages with optional filtering and pagination. |
| List Phone Numbers | List all owned phone numbers with pagination. |
| List Scheduled Messages | List all scheduled messages with optional filtering and pagination. |
| Send MMS Message | Send a MMS immediately or schedule it for future delivery. |
| Send SMS Message | Send a SMS message immediately or schedule it for future delivery. |
| Send text RCS message | Send a text message from a registered RCS agent. |
| Validate MMS Message | Validate MMS message content without sending it. |
| Validate SMS Message | Validate SMS message content without sending it. |
Get Call
Retrieve one voice call by its Pinnacle call ID.
Inputs
- ID
idtextRequired - Pinnacle call ID.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"answered_at": "2026-11-30T12:00:00Z",
"conference_id": "sample_conference_id",
"created_at": "2026-11-30T12:00:00Z",
"direction": "INBOUND",
"ended_at": "2026-11-30T12:00:00Z",
"from": "Example",
"hangup_cause": "Example",
"id": "sample_id",
"metadata": {},
"record": false,
"recording_state": "PENDING",
"started_at": "2026-11-30T12:00:00Z",
"state": "INITIATED",
"to": "Example"
}
}Get Contact
Retrieve contact information for a given number.
Inputs
- ID
idtext - Unique identifier of a specific contact you want to retrieve. Either this parameter or `phoneNumber` must be provided, but not both.
- Phone number
phone_numbertext - Phone number you want to look up contact information for, provided in URL-encoded E.164 format with %2B prefix instead of +.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"description": "Example",
"email": "Example",
"id": "sample_id",
"name": "Example",
"phoneNumber": "Example",
"tags": [
"Example"
]
}
}Get Conversation
Fetch a specific conversation using either its unique identifier or by matching sender and recipient details.
Inputs
- Conversation
idtextRequired - Choose a conversation.
Outputs
dataobject- Conversation that was found.
Example output
{
"data": {
"brandId": "sample_brandId",
"campaign": {
"id": "sample_id",
"type": "TOLL_FREE"
},
"contact": {
"id": "sample_id",
"phoneNumber": "Example"
},
"createdAt": "Example",
"id": "sample_id",
"notes": "Example",
"sender": {
"capabilities": {
"mms": false,
"sms": false,
"voice": false
},
"createdAt": "Example",
"isSandbox": false,
"phoneNumber": "Example",
"updatedAt": "Example"
},
"updatedAt": "Example"
}
}Get Message by ID
Retrieve a previously sent message.
Inputs
- ID
idtextRequired - Unique identifier of the message. This identifier is a string that always begins with the prefix `msg_`, for example: `msg_1234567890`.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"content": {
"text": "Example"
},
"cost": 1,
"deliveredAt": "Example",
"error": "Example",
"id": "sample_id",
"method": "API",
"numSegments": 1,
"receiver": "Example",
"sender": "Example",
"sentAt": "Example",
"status": "QUEUED",
"type": "SMS"
}
}Get Phone Number Status
Retrieve a phone number's order status and campaign attachment status. Check if a number is active and ready to send messages.
Inputs
- Phone number
phone_numbertextRequired - Phone number in E164 format that is in review.
Outputs
dataobject- Response for get phone number status.
Example output
{
"data": {
"errors": [
"Example"
],
"phoneNumber": "Example",
"status": "PENDING"
}
}List Audiences
List all audiences with optional filtering and pagination. Results are sorted by creation date, newest first.
Inputs
- Page index
page_indexnumber - Pageindex.At least 0. Default:
0. - Page size
page_sizenumber - Pagesize.From 1 to 100. Default:
20. - Name
nametext - Filter audiences by name (partial match).
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"count": 1,
"data": [
{
"createdAt": "Example",
"description": "Example",
"id": "sample_id",
"name": "Example",
"updatedAt": "Example"
}
],
"hasMore": false
}
}List Call Events
List the event timeline for a call.
Inputs
- ID
idtextRequired - Pinnacle call ID.
- Limit
limitnumber - Maximum call events to return.From 1 to 200.
- Cursor
cursortext - Opaque cursor returned by the previous page.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"data": [
{
"call_session_id": "sample_call_session_id",
"command_id": "sample_command_id",
"direction": "INBOUND",
"event_type": "Example",
"id": "sample_id",
"latency_ms": 1,
"occurred_at": "2026-11-30T12:00:00Z",
"payload": {},
"received_at": "2026-11-30T12:00:00Z",
"source": "WEBHOOK"
}
],
"next_cursor": "Example"
}
}List Calls
List voice calls for your team. Results are sorted newest first.
Inputs
- Limit
limitnumber - Maximum calls to return.From 1 to 100.
- Cursor
cursortext - Opaque cursor returned by the previous page.
- State
statetext - Current voice call lifecycle state. This field is named `state` on Call objects and `status` on `CALL.STATUS` webhook payloads. - `INITIATED`: Pinnacle accepted the call request and is setting up the call with the voice provider. - `RINGING`: The call is ringing and has not been answered yet. - `ANSWERED`: The call has been answered and is active. - `BRIDGED`: The call is connected to another call leg, such as after a transfer or bridge command. - `ENDED`: The call ended normally. - `FAILED`: The call could not be established or could not continue because of a provider or system failure. -One of:
INITIATED,RINGING,ANSWERED,BRIDGED,ENDED,FAILED,NO_ANSWER(No answer),BUSY,CANCELED. - Direction
directiontext - Direction of the call relative to your Pinnacle team. - `INBOUND`: The call originated from an external caller and was received by one of your Pinnacle voice-enabled phone numbers. - `OUTBOUND`: The call was created from Pinnacle and dialed out from one of your voice-enabled phone numbers.One of:
INBOUND,OUTBOUND. - From
fromtext - From.
- To
totext - To.
- Created after
created_afterdate and time - Created after.
- Created before
created_beforedate and time - Created before.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"data": [
{
"answered_at": "2026-11-30T12:00:00Z",
"conference_id": "sample_conference_id",
"created_at": "2026-11-30T12:00:00Z",
"direction": "INBOUND",
"ended_at": "2026-11-30T12:00:00Z",
"from": "Example",
"hangup_cause": "Example",
"id": "sample_id",
"metadata": {},
"record": false,
"recording_state": "PENDING",
"started_at": "2026-11-30T12:00:00Z",
"state": "INITIATED",
"to": "Example"
}
],
"next_cursor": "Example"
}
}List Contacts
List all contacts with optional filtering and pagination. Results are sorted by creation date, newest first.
Inputs
- Page index
page_indexnumber - Pageindex.At least 0. Default:
0. - Page size
page_sizenumber - Pagesize.From 1 to 100. Default:
20. - Phone number
phone_numbertext - Filter contacts by phone number (E.164 format).
- Name
nametext - Filter contacts by name (partial match).
- Tags
tagslist - Filter contacts by tags.
- Is archived
is_archivedtrue/false - Filter contacts by archived status.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"count": 1,
"data": [
{
"description": "Example",
"email": "Example",
"id": "sample_id",
"name": "Example",
"phoneNumber": "Example",
"tags": [
"Example"
]
}
],
"hasMore": false
}
}List Conversation Messages
Retrieve a paginated and filtered list of messages for a specific conversation.
Inputs
- ID
idtextRequired - Unique identifier of the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`.
- Page index
page_indexnumber - Zero-based index for pagination.At least 0. Default:
0. - Page size
page_sizenumber - Number of messages to return per page.From 10 to 50. Default:
10. - Sort order
sort_ordertext - Sort order for messages. - `asc`: Oldest messages first - `desc`: Newest messages first (default)One of:
asc,desc. Default:desc. - Direction
directiontext - Filter messages by direction. - `INBOUND`: Messages received from contacts - `OUTBOUND`: Messages sent to contactsOne of:
INBOUND,OUTBOUND. - Status
statustext - Filter messages by delivery status.One of:
PENDING,SENT,SEND_FAILED(Send failed),DELIVERED,DELIVERY_FAILED(Delivery failed),FALLBACK_SENT(Fallback sent),RECEIVED,READ. - Type
typetext - Filter messages by protocol type.One of:
SMS,MMS,RCS. - Date from
date_fromdate and time - Filter messages sent on or after this date (ISO 8601 format).
- Date to
date_todate and time - Filter messages sent on or before this date (ISO 8601 format).
Outputs
dataobject- Paginated list of messages in a conversation.
Example output
{
"data": {
"count": 1,
"hasMore": false,
"messages": [
{
"content": {
"text": "Example"
},
"cost": 1,
"deliveredAt": "Example",
"direction": "INBOUND",
"error": "Example",
"id": "sample_id",
"method": "API",
"numSegments": 1,
"reactions": [
"Example"
],
"receiver": "Example",
"sender": "Example",
"sentAt": "Example",
"status": "QUEUED",
"type": "SMS"
}
]
}
}List Conversations
Retrieves conversations by page with optional filtering based off provided parameters.
Inputs
- Brand ID
brand_idtext - The unique identifier of the brand to filter conversations. This identifier is a string that always begins with the prefix `b_`, for example: `b_1234567890`.
- Campaign ID
campaign_idtext - The unique identifier of the campaign to filter conversations. This identifier is a string that begins with the prefix: - TOLL_FREE: `tf_` (e.g., `tf_1234567890`) - 10DLC: `dlc_` (e.g., `dlc_1234567890`) - RCS: `rcs_` (e.g., `rcs_1234567890`)
- Campaign type
campaign_typetext - The type of campaign: - TOLL_FREE: Toll-free number campaigns - 10DLC: 10-digit long code campaigns for A2P messaging - RCS: Rich Communication Services campaignsOne of:
TOLL_FREE(Toll free),10DLC,RCS. - Page index
page_indexnumberRequired - Zero-based index for pagination.At least 0.
- Page size
page_sizenumber - Number of conversations to return per page.At least 1. Default:
10. - Receiver
receivertext - Receiver's phone number in E.164 format.
- Sender
sendertext - The sender identifier. Can be either: - A phone number in E.164 format - An RCS agent ID prefixed with 'agent_'
Outputs
dataobject- Response for list conversation.
Example output
{
"data": {
"conversations": [
{
"brandId": "sample_brandId",
"campaign": {
"id": "sample_id",
"type": "TOLL_FREE"
},
"contact": {
"id": "sample_id",
"phoneNumber": "Example"
},
"createdAt": "Example",
"id": "sample_id",
"notes": "Example",
"sender": {
"capabilities": {},
"createdAt": "Example",
"isSandbox": false,
"phoneNumber": "Example",
"updatedAt": "Example"
},
"updatedAt": "Example"
}
],
"count": 1,
"hasMore": false
}
}List Messages
List all messages with optional filtering and pagination. Results are sorted by creation date, newest first.
Inputs
- Page index
page_indexnumber - Pageindex.At least 0. Default:
0. - Page size
page_sizenumber - Pagesize.From 1 to 100. Default:
20. - Direction
directiontext - Direction.One of:
INBOUND,OUTBOUND. - Status
statustext - Status.One of:
PENDING,SENT,SEND_FAILED(Send failed),DELIVERED,DELIVERY_FAILED(Delivery failed),RECEIVED,READ,QUEUED,FALLBACK_SENT(Fallback sent). - Type
typetext - Type.One of:
SMS,MMS,RCS. - Method
methodtext - Filter by the method used to send the message.One of:
API,SDK,OTHER. - From
fromtext - Filter by sender phone number (E.164 format) or agent id.
- To
totext - Filter by recipient phone number (E.164 format).
- Content
contenttext - Search message content (partial match, case-insensitive).
- Date from
date_fromdate and time - Filter messages created on or after this date (ISO 8601 format).
- Date to
date_todate and time - Filter messages created on or before this date (ISO 8601 format).
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"count": 1,
"data": [
{
"blastId": "sample_blastId",
"content": {},
"cost": 1,
"createdAt": "Example",
"deliveredAt": "Example",
"direction": "INBOUND",
"error": {},
"from": "Example",
"id": "sample_id",
"isTest": false,
"method": "API",
"numSegments": 1,
"sentAt": "Example",
"status": "PENDING",
"to": "Example",
"type": "SMS",
"updatedAt": "Example"
}
],
"hasMore": false
}
}List Phone Numbers
List all owned phone numbers with pagination. Results are sorted by creation date, newest first.
Inputs
- Page index
page_indexnumber - Pageindex.At least 0. Default:
0. - Page size
page_sizenumber - Pagesize.From 1 to 100. Default:
20.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"count": 1,
"data": [
{
"createdAt": "Example",
"isSandbox": false,
"mms": false,
"number": "Example",
"sms": false,
"voice": false
}
],
"hasMore": false
}
}List Scheduled Messages
List all scheduled messages with optional filtering and pagination. Results are sorted by creation date, newest first.
Inputs
- Page index
page_indexnumber - Pageindex.At least 0. Default:
0. - Page size
page_sizenumber - Pagesize.From 1 to 100. Default:
20. - Status
statustext - Status.One of:
ACTIVE,CANCELLED,FAILED. - Schedule type
schedule_typetext - Filter by schedule type. "MESSAGE" for individual messages, "BLAST" for bulk sends.One of:
MESSAGE,BLAST. - Content
contenttext - Search scheduled message content (partial match, case-insensitive).
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"count": 1,
"data": [
{
"createdAt": "Example",
"endDate": "Example",
"id": "sample_id",
"payload": {},
"recurrence": "Example",
"sendAt": "Example",
"status": "ACTIVE",
"timezone": "Example",
"updatedAt": "Example"
}
],
"hasMore": false
}
}Send MMS Message
Send a MMS immediately or schedule it for future delivery.
Inputs
- From
fromtextRequired - Phone number you want to send the message from in E.164 format.
- Media URLS
media_urlslistRequired - Media file URLs to send. See supported media types.
- Options multiple messages
options_multiple_messagestrue/false - Allow splitting large content into multiple MMS messages if size limits are exceeded. If `false`, MMS over the limit will throw an error and won't be sent.Default:
false. - Options schedule
options_scheduleobject - Define when and how your message should be sent.
- Options tracking
options_trackingtext - Enable tracking on sent messages. If not provided, messages are not tracked. You will not be able to react to these messages unless you provide the options.force field. `ID` - Append an explicit ID at the end of the message for tracking. Users will see this ID. `HIDDEN` - Invisible IDs are sent with messages for tracking. Will not be visible to users but will lead to slightly longer message lengths.One of:
ID,HIDDEN. - Options validate
options_validatetrue/false - Set to true to check this message and throw an error when validation fails. If errors occur, the message is not sent. Otherwise message is sent after validation.Default:
false. - Text
texttextRequired - Message text to accompany the media.
- To
totextRequired - Recipient's phone number in E.164 format.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"messageIds": [
"sample_messageIds"
],
"recipient": "Example",
"segments": 1,
"sender": "Example",
"status": "Example",
"totalCost": 1
}
}Send SMS Message
Send a SMS message immediately or schedule it for future delivery.
Inputs
- From
fromtextRequired - Phone number that sends the message in E.164 format.
- Options schedule
options_scheduleobject - Define when and how your message should be sent.
- Options tracking
options_trackingtext - Enable tracking on sent messages. If not provided, messages are not tracked. You will not be able to react to these messages unless you provide the options.force field. `ID` - Append an explicit ID at the end of the message for tracking. Users will see this ID. `HIDDEN` - Invisible IDs are sent with messages for tracking. Will not be visible to users but will lead to slightly longer message lengths.One of:
ID,HIDDEN. - Text
texttextRequired - Message content.
- To
totextRequired - Recipient's phone number in E.164 format.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"messageId": "sample_messageId",
"recipient": "Example",
"segments": {
"count": 1,
"encoding": "gsm7"
},
"sender": "Example",
"status": "Example",
"totalCost": 1
}
}Send text RCS message
Send a text message from a registered RCS agent.
Inputs
- RCS agent
agenttextRequired - The sender RCS agent ID. It starts with agent_.
- Recipient phone number
recipienttextRequired - Recipient phone number in E.164 format.
- Text
texttextRequired - Text to send.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"messageId": "sample_messageId",
"recipient": "Example",
"segments": 1,
"sender": "Example",
"status": "Example",
"totalCost": 1
}
}Validate MMS Message
Validate MMS message content without sending it.
Inputs
- Media URLS
media_urlslistRequired - URLs of media files in this message. See supported media types.
- Text
texttext - Text content that accompanies the media files.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"segments": {
"count": 1,
"unsupportedFiles": [
"Example"
],
"value": [
{
"files": [
"Example"
],
"size": 1,
"text": "Example"
}
]
},
"total": 1,
"unit": 1
}
}Validate SMS Message
Validate SMS message content without sending it.
Inputs
- Text
texttextRequired - Message content.
Outputs
dataobject- The response from Pinnacle.
Example output
{
"data": {
"isOverSegmentLimit": false,
"segments": {
"gsm7": {
"totalBytes": 1,
"unsupported": [
"Example"
],
"value": [
"Example"
]
},
"utf16": {
"totalBytes": 1,
"value": [
"Example"
]
}
},
"total": {
"gsm7": 1,
"utf16": 1
},
"unit": 1
}
}