Contacts API

get specific entry

GET /api/rest/admin/contacts/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjYwLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzcyMjEyMDAxfQ.a4T3ybDadFLT0bIN15lyClZXztSN5uIEoFez-tb0Pdk
Host: example.org
Cookie: 

Route

GET /api/rest/admin/contacts/52

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"87fe31e42366cf8c942c04133c074d2c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5239869e-16e8-4418-8d7a-abf4aba93bc6
x-runtime: 0.005989
content-length: 398

Status

200 OK

Body

{
  "data": {
    "id": "52",
    "type": "contacts",
    "links": {
      "self": "http://example.org/api/rest/admin/contacts/52"
    },
    "attributes": {
      "email": "rspec_mail_3@example.com",
      "notes": null
    },
    "relationships": {
      "contractor": {
        "links": {
          "self": "http://example.org/api/rest/admin/contacts/52/relationships/contractor",
          "related": "http://example.org/api/rest/admin/contacts/52/contractor"
        },
        "data": {
          "type": "contractors",
          "id": "27"
        }
      }
    }
  }
}