Batch
Service Get Batches
GET
/api/v1/service/projects/{project_id}/batchesAuthorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
project_id*Project Id
Format
uuidQuery Parameters
search?|null
execution_type?|null
batch_status?|null
sort_by?string|null
agent_id?|null
start_date?|null
end_date?|null
page?Page
Page number
Range
1 <= valueDefault
1size?Size
Page size
Range
1 <= value <= 100Default
50Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/service/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/batches"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "filename": "string", "user_uploaded_file": "string", "execution_type": "NOW", "processed_file": "string", "agent_name": "string", "valid_rows": 0, "total_rows": 0, "batch_status": "DRAFT", "created_at": "2019-08-24T14:15:22Z", "execution_status": {}, "scheduled_at": "2019-08-24T14:15:22Z", "webhooks": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "scope": "agent", "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "phone_number_id": "54afc7b8-17df-415a-9fb0-21ee66219576", "batch_id": "4da22c97-b7d5-4e31-8c3a-03870ebc7b20", "events": [ "string" ], "secret": "string", "custom_headers": { "property1": "string", "property2": "string" }, "query_params": { "property1": "string", "property2": "string" }, "integration_credential_id": "fe0828f5-08d5-417e-a3fe-b212bfdbe765", "is_active": true } ] } ], "total": 0, "page": 1, "size": 1, "pages": 0}