Image Export

How to export images - Abyssale REST API

You can generate an export (.zip format) containing several images.

This process is asynchronous and requires a webhook server to listen to export events.

The export process

(1) Ask an export

Create a banner export

post

As this method is asynchronous you need to provide a callback URL that will be called back when the export is done. We will do a POST request on this URL with a JSON payload.

Authorizations
x-api-keystringRequired

All of your Abyssale requests must contain a x-api-key header with your API Key.

Body
idsstring · uuid[]Required

An array of string that corresponds to the banners IDs you would like to export.

Example: 64238d01-d402-474b-8c2d-fbc957e9d290
callback_urlstring · uriOptional

The url that will be called once the generation of your export is done.

Example: https://your-webhook.com/export-abyssale
Responses
200

Ok

application/json
post
/async/banners/export
200

Ok

(2) Receive the export request ID

If the export request is accepted, the API call returns the export_id. It represents the ID of the asynchronous export and allows toto identify the asynchronous response.

The following errors can occur:

  • 400: A given parameter is invalid. Body response:

  • 404: One the given banner ID cannot be found.

(3) NewExport event

Once the export is generated on the Abyssale side, a NewExport event is sent (POST) to the callback_url

Last updated