Track the processing status of an opt-out request using the returned job_id.
Endpoint:
GET /v1/jobs/{job_id}
Response (Success):
{
"id": "mfiajei2939502mkafe",
"account_id": 123123123,
"job_type": "opt_out",
"api_payload": {
...
},
"created_at": "2025-01-01 00:00:00",
"job_request_histories": [
{
"id": "joiawe09u09f329f",
"job_id": "mfiajei2939502mkafe",
"status": "REQUESTED",
"reason": "request submitted",
"created_at": "2025-01-01 00:00:00"
},
{
"id": "po092409fa90j3",
"job_id": "mfiajei2939502mkafe",
"status": "SUCCEEDED",
"reason": "request processed",
"created_at": "2025-01-01 01:00:00"
}
]
}Response (Failure):
{
"error": "error message"
}