Pinnacle

App · 19 actions

Send and validate messages and read contacts, conversations, call events and phone numbers.

Actions

ActionWhat it does
Get CallRetrieve one voice call by its Pinnacle call ID.
Get ContactRetrieve contact information for a given number.
Get ConversationFetch a specific conversation using either its unique identifier or by matching sender and recipient details.
Get Message by IDRetrieve a previously sent message.
Get Phone Number StatusRetrieve a phone number's order status and campaign attachment status.
List AudiencesList all audiences with optional filtering and pagination.
List Call EventsList the event timeline for a call.
List CallsList voice calls for your team.
List ContactsList all contacts with optional filtering and pagination.
List Conversation MessagesRetrieve a paginated and filtered list of messages for a specific conversation.
List ConversationsRetrieves conversations by page with optional filtering based off provided parameters.
List MessagesList all messages with optional filtering and pagination.
List Phone NumbersList all owned phone numbers with pagination.
List Scheduled MessagesList all scheduled messages with optional filtering and pagination.
Send MMS MessageSend a MMS immediately or schedule it for future delivery.
Send SMS MessageSend a SMS message immediately or schedule it for future delivery.
Send text RCS messageSend a text message from a registered RCS agent.
Validate MMS MessageValidate MMS message content without sending it.
Validate SMS MessageValidate SMS message content without sending it.

Get Call

Retrieve one voice call by its Pinnacle call ID.

Inputs

IDidtextRequired
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

IDidtext
Unique identifier of a specific contact you want to retrieve. Either this parameter or `phoneNumber` must be provided, but not both.
Phone numberphone_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

ConversationidtextRequired
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

IDidtextRequired
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 numberphone_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 indexpage_indexnumber
Pageindex.At least 0. Default: 0.
Page sizepage_sizenumber
Pagesize.From 1 to 100. Default: 20.
Namenametext
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

IDidtextRequired
Pinnacle call ID.
Limitlimitnumber
Maximum call events to return.From 1 to 200.
Cursorcursortext
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

Limitlimitnumber
Maximum calls to return.From 1 to 100.
Cursorcursortext
Opaque cursor returned by the previous page.
Statestatetext
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.
Directiondirectiontext
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.
Fromfromtext
From.
Tototext
To.
Created aftercreated_afterdate and time
Created after.
Created beforecreated_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 indexpage_indexnumber
Pageindex.At least 0. Default: 0.
Page sizepage_sizenumber
Pagesize.From 1 to 100. Default: 20.
Phone numberphone_numbertext
Filter contacts by phone number (E.164 format).
Namenametext
Filter contacts by name (partial match).
Tagstagslist
Filter contacts by tags.
Is archivedis_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

IDidtextRequired
Unique identifier of the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`.
Page indexpage_indexnumber
Zero-based index for pagination.At least 0. Default: 0.
Page sizepage_sizenumber
Number of messages to return per page.From 10 to 50. Default: 10.
Sort ordersort_ordertext
Sort order for messages. - `asc`: Oldest messages first - `desc`: Newest messages first (default)One of: asc, desc. Default: desc.
Directiondirectiontext
Filter messages by direction. - `INBOUND`: Messages received from contacts - `OUTBOUND`: Messages sent to contactsOne of: INBOUND, OUTBOUND.
Statusstatustext
Filter messages by delivery status.One of: PENDING, SENT, SEND_FAILED (Send failed), DELIVERED, DELIVERY_FAILED (Delivery failed), FALLBACK_SENT (Fallback sent), RECEIVED, READ.
Typetypetext
Filter messages by protocol type.One of: SMS, MMS, RCS.
Date fromdate_fromdate and time
Filter messages sent on or after this date (ISO 8601 format).
Date todate_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 IDbrand_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 IDcampaign_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 typecampaign_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 indexpage_indexnumberRequired
Zero-based index for pagination.At least 0.
Page sizepage_sizenumber
Number of conversations to return per page.At least 1. Default: 10.
Receiverreceivertext
Receiver's phone number in E.164 format.
Sendersendertext
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 indexpage_indexnumber
Pageindex.At least 0. Default: 0.
Page sizepage_sizenumber
Pagesize.From 1 to 100. Default: 20.
Directiondirectiontext
Direction.One of: INBOUND, OUTBOUND.
Statusstatustext
Status.One of: PENDING, SENT, SEND_FAILED (Send failed), DELIVERED, DELIVERY_FAILED (Delivery failed), RECEIVED, READ, QUEUED, FALLBACK_SENT (Fallback sent).
Typetypetext
Type.One of: SMS, MMS, RCS.
Methodmethodtext
Filter by the method used to send the message.One of: API, SDK, OTHER.
Fromfromtext
Filter by sender phone number (E.164 format) or agent id.
Tototext
Filter by recipient phone number (E.164 format).
Contentcontenttext
Search message content (partial match, case-insensitive).
Date fromdate_fromdate and time
Filter messages created on or after this date (ISO 8601 format).
Date todate_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 indexpage_indexnumber
Pageindex.At least 0. Default: 0.
Page sizepage_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 indexpage_indexnumber
Pageindex.At least 0. Default: 0.
Page sizepage_sizenumber
Pagesize.From 1 to 100. Default: 20.
Statusstatustext
Status.One of: ACTIVE, CANCELLED, FAILED.
Schedule typeschedule_typetext
Filter by schedule type. "MESSAGE" for individual messages, "BLAST" for bulk sends.One of: MESSAGE, BLAST.
Contentcontenttext
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

FromfromtextRequired
Phone number you want to send the message from in E.164 format.
Media URLSmedia_urlslistRequired
Media file URLs to send. See supported media types.
Options multiple messagesoptions_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 scheduleoptions_scheduleobject
Define when and how your message should be sent.
Options trackingoptions_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 validateoptions_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.
TexttexttextRequired
Message text to accompany the media.
TototextRequired
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

FromfromtextRequired
Phone number that sends the message in E.164 format.
Options scheduleoptions_scheduleobject
Define when and how your message should be sent.
Options trackingoptions_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.
TexttexttextRequired
Message content.
TototextRequired
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 agentagenttextRequired
The sender RCS agent ID. It starts with agent_.
Recipient phone numberrecipienttextRequired
Recipient phone number in E.164 format.
TexttexttextRequired
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 URLSmedia_urlslistRequired
URLs of media files in this message. See supported media types.
Texttexttext
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

TexttexttextRequired
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
  }
}

On this page