POST
/
batches
curl --request POST \
  --url https://api.opkit.co/v1/batches \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "<string>"
}'
{
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending"
}

Authorizations

Authorization
string
headerrequired

The Opkit API uses the HTTP Bearer Token scheme for authentication. You should provide your API key in the Authorization header like so: "Authorization: Bearer [api-key]".

Body

application/json
description
string

Response

200 - application/json
created_at
string
required
description
string
id
string
required
status
enum<string>
required
Available options:
pending,
in_progress,
complete