Creates organization invitations
post
/v2/organizations/{slug}/members/invitationsCreates member invitations for an organization. Each invitation can have different role and project scope settings.
OAuth scopes
- organizations:write
This endpoint is only available on the following plans:
- Enterprise
The fine-grained token must include the following permissions to access this endpoint:
- members_write
Path parameters
- slugRequiredstring
Organization slug
Body
- dataRequiredArray<object>
Response codes
- 201
- 401
- 402
- 403
- 429
Response (201)
{ "error": { "id": "lorem", "code": "lorem", "message": "lorem", "description": "lorem", "links": { "property1": { "href": "lorem", "rel": "lorem", "title": "lorem", "type": "lorem", "describedby": "lorem", "meta": { "property1": null, "property2": null } }, "property2": { "href": "lorem", "rel": "lorem", "title": "lorem", "type": "lorem", "describedby": "lorem", "meta": { "property1": null, "property2": null } } }, "meta": { "property1": null, "property2": null }, "issues": [ { "id": "lorem", "code": "lorem", "message": "lorem", "description": "lorem", "links": { "property1": { "href": "lorem", "rel": "lorem", "title": "lorem", "type": "lorem", "describedby": "lorem", "meta": { "property1": null, "property2": null } }, "property2": { "href": "lorem", "rel": "lorem", "title": "lorem", "type": "lorem", "describedby": "lorem", "meta": { "property1": null, "property2": null } } }, "meta": { "email": "hello@example.com" } } ] }, "data": [ { "type": "organization_invitation", "attributes": { "email": "hello@example.com" } } ]}