Bulk Data Extract | Community
Skip to main content
New Participant
May 15, 2025
Question

Bulk Data Extract

  • May 15, 2025
  • 2 replies
  • 834 views

Hello Community,

 

I have created a sample job using postman using this endpoint: 

POST /bulk/v1/leads/export/create.json

 

with this request body: 

{
   "fields": [
      "firstName",
      "lastName"
   ],
   "format": "CSV",
   "columnHeaderNames": {
      "firstName": "First Name",
      "lastName": "Last Name"
   },
   "filter": {
      "createdAt": {
         "startAt": "2023-01-01T00:00:00Z",
         "endAt": "2023-01-31T00:00:00Z"
      }
   }
}

 

I am getting this response: 

{ "requestId": "49f#196d2e99cbf", "result": [ { "exportId": {export_id}, "format": "CSV", "status": "Created", "createdAt": "2025-05-15T07:47:27Z" } ], "success": true }
 
I not able to start the job this is the end point i am using: 
{{base_url}}/bulk/v1/leads/export/{{export_id}}/enqueue.json
 
The client_id, client_secret, and, base url and access token is correct but still getting this error
 
Thank you.

2 replies

SanfordWhiteman
New Participant
May 15, 2025

{{base_url}}/bulk/v1/leads/export/{{export_id}}/enqueue.json

That’s the correct URL template, although it’s better expressed like so:

https://{{MunchkinID}}.mktorest.com/bulk/v1/leads/export/{{BulkExportID}}/enqueue.json

 

However, we can’t see what you’re actually putting on the wire after substituting those variables. Most likely, you misspelled something and created a nonexistent path. Even a trailing space will do that.

 

SanfordWhiteman
New Participant
May 15, 2025
What is the error, though? You haven't shown the error from Enqueue Job.
OmkarKa4Author
New Participant
May 15, 2025

This is the error that received:

 
{ "requestId": "13da6#196d2e2a19b", "success": false, "errors": [ { "code": "610", "message": "Requested resource not found" } ] }