Contacts API

get specific entry

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTEsInN1YiI6NjZ9.sMGB3pKCgBzwnGOO-kWk8odlHUjccV_N8tCIaSYp-_s
Host: example.org
Cookie: 

Route

GET /api/rest/admin/contacts/58

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"7173b4308f0292086e3270f382218fdd"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d9604829-663a-49d9-8822-b5c5423d9031
X-Runtime: 0.010542
Content-Length: 398

Status

200 OK

Body

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