Organization API - Invitation
Get list of all invitations
Get list of all invitations you created or sent to you.
get/v3/invitations
Query parameters
offsetinteger
The number of documents to skip before starting to collect the result set.
limitinteger
Example:20
The numbers of results to return.
organizationstring
Uniquely identify an organization.
Example:mEFayXdO
Filter by organization.
status'pending' | 'accepted' | 'declined'
Filter by status.
role'admin' | 'member'
Example:admin
Filter by role.
Response
All invitations you created or sent to you.
Example response
{
"count": 10,
"results": [
{
"identifier": "mEFayXdO",
"organization": {
"identifier": "mEFayXdO",
"name": "Grove Street King",
"userRole": "admin",
"avatar": "https://affinda-api.s3.amazonaws.com/media/org-avatar.png?AWSAccessKeyId=KEY&Signature=SIG",
"resthookSignatureKey": "465c6598bd34c0558f0ce256c43209d49fa85b0ff3e4c18b24e408b7563143ad"
},
"email": "carljohnson@grove.street",
"role": "admin",
"invitedBy": {
"id": 1,
"name": "Carl Johnson",
"username": "carljohnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
},
"respondedBy": {
"id": 1,
"name": "Carl Johnson",
"username": "carljohnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
}
}
]
}