POST
/
datasets
/
snapshots
/
{id}
/
deliver
curl --request POST \
  --url https://api.brightdata.com/datasets/snapshots/{id}/deliver \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deliver": {
    "type": "webhook",
    "filename": {
      "template": "<string>",
      "extension": "json"
    },
    "endpoint": "<string>"
  },
  "compress": false
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Snapshot ID

Body

application/json
deliver
object

Deliver configuration

compress
boolean
default:
false

Deliver file compressed in gzip format

Response

200
application/json
OK
id
string

ID of the delivery job