Skip to main content
POST
Call this from your server when a user signs up. The call is idempotent on publisher_user_id: the first call returns 201, and calling again with the same identifier returns 200 with the same user, so it’s safe to retry. Store the returned user_id next to your own record for the user. Every later call identifies the user by user_id.

Configuration

Header Parameters

string
required
Your ZBD API key.
string
Content Type

Body Parameters

string
required
Your own stable identifier for the user. Keep personal data out of it, so no email, username, or device ID.
string
The user’s email address. ZBD uses it to send the user verification codes in the widget.
Returns the same fields as Get a User.

Errors