Developers
qashio.com

Send a user invitation email

POST/public/v1/core/user_profiles/invite
Bearer token

Invite 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

FieldTypeDescription
end_userarray of stringsEmail addresses to invite
JSON
{ "end_user": ["jane@acme.com", "sam@acme.com"] }

Response

201 with message: "Resource created successfully." and:

FieldTypeDescription
messagestringHuman-readable outcome
summaryobjectPresent when invitations were processed immediately
summary.success_emails.end_user[]arrayAddresses invited successfully
summary.failed_emails.end_user[]arrayAddresses that could not be invited
summary.total_processedobject{ success, failed, total }
Response schema from the OpenAPI document
FieldTypeDescription
status_codeinteger
successboolean
messagestring
dataobject
messagestring
summaryobject
failed_emailsobject
success_emailsobject
total_processedobject
metaobject
request_idstring
timestampstring
5 nested fields
data.summary.failed_emails.end_userstring[]
data.summary.success_emails.end_userstring[]
data.summary.total_processed.successinteger
data.summary.total_processed.failedinteger
data.summary.total_processed.totalinteger

Errors

400 (no valid addresses, or the request was rejected), 401.


OAuth

  • 400Bad Request
  • 401Unauthorized - missing or invalid Bearer token

Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.

This request takes no parameters.

Response

Send the request to see the response.

Esc

Start here

IntroductionIntegration walkthroughAuthenticationConventions

Popular endpoints

POSTExchange code for tokens/oauth2/tokenGETGet company summary/public/v1/erp/company/summaryGETList bank accounts/public/v1/erp/bank_accountsGETList cards/public/v1/erp/cardsGETList chart of accounts/public/v1/erp/chart_of_accounts