Send a user invitation email
/public/v1/core/user_profiles/inviteInvite people into Qashio so they can be issued cards.
Sends a Qashio onboarding invitation email to each address supplied. Invitees are
created as end users; this endpoint cannot create administrators. Once an invitee completes
onboarding they have a user profile, which is what
POST /public/v1/core/cards needs in order to issue them a card.
Invitations may be processed immediately or queued. When processed immediately the response carries a
summary of which addresses succeeded and which failed; when queued, no summary is returned and the
invitations are sent shortly afterwards. Check data.summary rather than the status code to
confirm delivery.
Already-invited addresses are reported as failures in the summary rather than failing the request.
Request body
application/jsonrequired
| Field | Type | Description |
|---|---|---|
end_user | array of strings | Email addresses to invite |
{ "end_user": ["jane@acme.com", "sam@acme.com"] }Response
201 with message: "Resource created successfully." and:
| Field | Type | Description |
|---|---|---|
message | string | Human-readable outcome |
summary | object | Present when invitations were processed immediately |
summary.success_emails.end_user[] | array | Addresses invited successfully |
summary.failed_emails.end_user[] | array | Addresses that could not be invited |
summary.total_processed | object | { success, failed, total } |
Response schema from the OpenAPI document
| Field | Type | Description |
|---|---|---|
status_code | integer | |
success | boolean | |
message | string | |
data | object | |
message | string | |
summary | object | |
failed_emails | object | |
success_emails | object | |
total_processed | object | |
meta | object | |
request_id | string | |
timestamp | string |
5 nested fields
data.summary.failed_emails.end_user | string[] | |
data.summary.success_emails.end_user | string[] | |
data.summary.total_processed.success | integer | |
data.summary.total_processed.failed | integer | |
data.summary.total_processed.total | integer |
Errors
400 (no valid addresses, or the request was rejected), 401.
OAuth
400Bad Request401Unauthorized - missing or invalid Bearer token
Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.