Get all expiration items for a contact

GET https://api.expirationreminder.net/v1/expirationitems/contact/{id}

Path Parameters

id string Required

Query Parameters

page integerOptional

Default: -1

GET /v1/expirationitems/contact/{id}
$ curl https://api.expirationreminder.net/v1/expirationitems/contact/{id} \
  -H "Authorization: Bearer <token>"

Responses

Property Type Description
expiration_items object[] -
pages integer (int32) -
page integer (int32) -
total integer (int32) -

Example Response

{
  "expiration_items": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "expiration_date": "string",
    "status": "string",
    "time_of_day": "string",
    "category": {
    "name": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "is_active": false,
    "team_id": "00000000-0000-0000-0000-000000000000",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "internal_name": "string"
  }
  ]
  },
    "details": "string",
    "assigned_to": {
    "name": "string",
    "email": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000"
  },
    "status_id": 0,
    "modified": "string",
    "category_name": "string",
    "is_active": false,
    "team_id": "00000000-0000-0000-0000-000000000000",
    "contacts": [
    {
    "name": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "email": "string",
    "timezone": "string",
    "mobile": "string",
    "phone": "string",
    "assigned_to": {
    "name": "string",
    "email": "string",
    "id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000"
  },
    "type_id": "00000000-0000-0000-0000-000000000000",
    "contact_id": "string",
    "location_id": "00000000-0000-0000-0000-000000000000",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "is_active": false,
    "modified": "string",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ]
  }
  ],
    "attachments": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "content": "string",
    "name": "string",
    "content_type": "string",
    "created": "string",
    "content_legth": 0
  }
  ],
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ],
    "locations": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "parent_location_id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "custom_fields": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "value": "string"
  }
  ]
  }
  ],
    "tags": [
    {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "team_id": "00000000-0000-0000-0000-000000000000",
    "modified": "string",
    "organization_id": "00000000-0000-0000-0000-000000000000"
  }
  ],
    "contact_id": "00000000-0000-0000-0000-000000000000"
  }
  ],
  "pages": 0,
  "page": 0,
  "total": 0
}

Bad Request

Property Type Description
message string -
ok boolean -

Example Response

{
  "message": "string",
  "ok": false
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.