Developer Portal
Messaging

Get message

Retrieve a specific message by ID. Designed for external use via INS.

GET
/v2/message/{message_id}/event

Path Parameters

message_id*integer

Impel Message ID

Header Parameters

partner-id*string

This parameter uniquely identifies an Impel partner and will be used for API authentication and authorization.

x-api-key*string

An API Key issued by Impel that will be used for API authentication and authorization.

client-key*string

The unique IDP Identifier assigned to the client by Impel during onboarding.

Response Body

application/json

curl -X GET "https://example.com/v2/message/0/event" \  -H "partner-id: string" \  -H "x-api-key: string" \  -H "client-key: string"
{  "message_id": 59125,  "lead_id": 19512,  "sent_by": "human",  "channel_type": "email",  "sender_contact": "sender@email.com",  "receiver_contact": "receiver@email.com",  "subject": "string",  "body": "string",  "direction": "inbound",  "message_utc": "2019-08-24T14:15:22Z",  "crm_message_id": "string"}