Retrieves a list of customer unsubscriptions
GET/unsubscriptions
Retrieves a list of customer unsubscriptions
Request
Query Parameters
Customer unsubscription filter
Customer unsubscription embedded sub-entities
Responses
- 200
- 401
- 403
- 404
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Campaign
- NullableObject
- ] 
unsubscriptions
object[]
The list of customer unsubscriptions
The id of the customer unsubscription
The id of the customer of the customer unsubscription
The id of the campaign of the customer unsubscription
The date and time when the customer unsubscription was created
_embedded
object
nullable
customer
object
Possible values: [M, F]
campaign
object
oneOf
object
cursor
object
cursor
Pagination link|cursor pointing to the current page.
Pagination link|cursor pointing to the first page.
Pagination link|cursor pointing to the previous page.
Pagination link|cursor pointing to the next page.
Pagination link|cursor pointing to the last page.
{
  "unsubscriptions": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "campaign_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2024-07-29T15:51:28.071Z",
      "_embedded": {
        "customer": {
          "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "reference": "string",
          "name": "string",
          "source": "string",
          "email": "user@example.com",
          "phone": "string",
          "anonymization": true,
          "salutation": "string",
          "language": "string",
          "country": "string",
          "gender": "M",
          "created_at": "2024-07-29T15:51:28.071Z"
        },
        "campaign": {}
      }
    }
  ],
  "cursor": {
    "self": "string",
    "first": "string",
    "prev": "string",
    "next": "string",
    "last": "string"
  }
}
Unauthenticated
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unauthorized
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Not found
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unprocessable Entity
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}
Unknown error
- application/problem+json
- Schema
- Example (from schema)
Schema
A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable
Possible values: >= 100 and < 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
  "title": "string",
  "status": 503,
  "detail": "Connection to database timed out",
  "instance": "string"
}