Surge
GET
/contacts/{id}

Retrieves a Contact object.

Authorization

authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The ID of the contact to retrieve.

Response Body

application/json

application/json

curl -X GET "https://api.surge.app/contacts/ctc_01j9dy8mdzfn3r0e8x1tbdrdrf"
{
  "email": "dom@toretto.family",
  "first_name": "Dominic",
  "id": "ctc_01j9dy8mdzfn3r0e8x1tbdrdrf",
  "last_name": "Toretto",
  "metadata": {
    "car": "1970 Dodge Charger R/T"
  },
  "phone_number": "+18015551234"
}
{
  "error": {
    "message": "The requested resource could not be found.",
    "type": "not_found"
  }
}