latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Contacts

Get the details of a specific unsubscribed contact

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Contacts/getUnsubscribedContact" target="_blank">Try in sandbox</a><br>

get/api/v2/unsubscribers/{id}

Path parameters

idinteger required

Response

Returned when successful.

idinteger required

Unsubscribed contact ID.

phonestring required

Phone number in E.164 format.

unsubscribeTimestring date-time required

Time when contact was opted-out.

firstNamestring nullable required

Unsubscribed contact first name.

lastNamestring nullable required

Unsubscribed contact last name.

Example response

{
  "id": 27074,
  "unsubscribeTime": "2015-01-09T18:59:46+0000",
  "firstName": "Charles",
  "lastName": "Conway"
}