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.eyJleHAiOjE3MTAyNTQ3MjcsInN1YiI6NDZ9.wl9aV5-DtdlSTtGxSg9Nq4wOSFQm0HX3qhOckO7fzj8
Host: example.org
Cookie: 

Route

GET /api/rest/admin/contacts/38

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/"a9230cdfaf4071f78ce732a7c5e0556f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 27b63ec7-acbc-4646-a19b-e80fabbc8002
X-Runtime: 0.012527
Content-Length: 358

Status

200 OK

Body

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