tebarDocs
GuideDevelopersAPI ReferenceChangelog
Inbox

Download a customer's image

GET
/v1/inbox/messages/{id}/attachments/{index}

Tebar's copy of an image in a message, by its place in attachments (from 0). Private: only with your credentials.

Requires the read scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (tb_live_...) from the dashboard, or an OAuth access token.

Path Parameters

id*string
Formatuuid
index*integer
Range0 <= value

Header Parameters

Tebar-Profile?string

Limits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.

Response Body

The image file, with its Content-Type.

Example Request
curl -X GET 'https://api.tebar.app/v1/inbox/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments/0'
Example Response
Empty