Create Organization Invite

Operation ID: organizations.invites.create
POST
https://api.authpi.com/v1/accounts/{account_id}/issuers/{issuer_id}/organizations/{org_id}/invites

Create an invite to an organization

Request

Request body

Schema | application/json
email_invited

Email of the user to invite

required string[email]
user_title

A title to appear in the user's profile & invitation page

string
message

A message to appear in the invitation email

string
scopes

Scopes to give to the user in relation to this organization

array[string]
expires_at

Expiration date of the invitation. Default: 7 days

integer
metadata
object

Responses

201

Invite created

400

Bad request - The request is not valid or missing required parameters.

401

Unauthorized - The request is not allowed because the client or user is not authenticated.

403

Forbidden - The request is not allowed because the client or user does not have the necessary permissions.

404

Not found - The requested resource does not exist.

422

Unprocessable entity - The data provided in the request is not valid.

429

Too many requests - The client has sent too many requests in a given amount of time.

500

Internal server error - An unexpected error occurred while processing the request.