Skip to main content
POST
Create Knot Zero Links (Batch)
A user that fails validation gets an error instead of a link without failing the rest of the request. Links are created together: if the request fails, no links are created and no earlier links are revoked.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.

Body

application/json

The users to create links for.

type
enum<string>
required

Product to associate the link with.

Available options:
card_switcher
Example:

"card_switcher"

users
object[]
required

The users to create links for. Maximum 10,000 users per request. A user can appear once per card. Later rows with the same external_user_id and card_id get an error.

Required array length: 1 - 10000 elements

Response

Successful request. Results are returned in the same order as users in the request. A user that fails validation returns an error instead of a link and doesn't fail the rest of the request.

One result per user, in request order.