Skip to main content
Get agency details
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/agencies/{agencyId} \
  --header 'Authorization: Bearer <token>'
{
  "agencyId": "<string>",
  "name": "<string>",
  "address": {
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zipCode": "<string>",
    "apartment": "<string>"
  },
  "timezone": "<string>",
  "status": "active",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agencyId
string
required

Response

Agency details.

agencyId
string
name
string
address
object
timezone
string
status
enum<string>
Available options:
active,
inactive
createdAt
string<date-time>
updatedAt
string<date-time>