Get all contact types
GET
https://api.expirationreminder.net/v1/contacttypesQuery Parameters
term
stringOptionalDefault:
page
integerOptionalDefault: -1
GET /v1/contacttypes
$ curl https://api.expirationreminder.net/v1/contacttypes \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
contact_types |
object[] |
- |
pages |
integer (int32) |
- |
page |
integer (int32) |
- |
total |
integer (int32) |
- |
Example Response
{
"contact_types": [
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"is_active": false,
"modified": "string"
}
],
"pages": 0,
"page": 0,
"total": 0
}Bad Request
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}