Diamra Developer Docs
All pages

Customer events

Each event below says when it fires and lists the fields in its data. Event types explains who each event notifies, the fields that events share and the envelope around data.

customer.access_requested

Recipient: owner

A customer asks for access to your store. A new endpoint starts with it picked.

FieldWhat it holds
customer
The customer: id (Diamra's id for them), email, phone, first_name and name. Anything Diamra doesn't know is null.
requested_at
When the customer asked, as an ISO 8601 time in UTC.
embed_url
The page that framed the studio when they asked, as the browser reported it. Some browsers send only the site's address. null outside an embed.

customer.access_approved

Recipient: customer

Your team approves a customer who asked for access, the first time. A new endpoint starts with it picked.

FieldWhat it holds
customer
The customer: id (Diamra's id for them), email, phone, first_name and name. Anything Diamra doesn't know is null.
approved_at
When your team approved them, as an ISO 8601 time in UTC.