Home//
REST API Reference
/- List banners for a contact
Dismiss a banner for a contact
Banner
Banner Dismiss
List banners for a contac...
Returns the banners a contact currently matches, so you can display them on surfaces outside the Messenger (native mobile apps, kiosks, embedded tools).
Each banner in the response includes a view_id. Use it to record a dismissal with the dismiss endpoint. A returned banner is treated as shown: requesting this endpoint records an impression for each banner returned, so call it at the point you are about to display the banners, not speculatively.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"2.16"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.16
- The production API serverhttps://api.intercom.io/contacts/{id}/banners
- The european API serverhttps://api.eu.intercom.io/contacts/{id}/banners
- The australian API serverhttps://api.au.intercom.io/contacts/{id}/banners
curl -i -X GET \
'https://api.intercom.io/contacts/{id}/banners' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.16'Successful response
dataArray of objects(Banner)
An array of banners.
Response
{ "type": "list", "data": [ { … } ] }