Sluby
REST APIMembers

Pending invites, newest first.

Invites that still let someone join, with how many people joined with each. Their links are not shown.

GET
/api/v1/invites

Invites that still let someone join, with how many people joined with each. Their links are not shown.

Authorization

headerAuthorizationBearer <token>

A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.

Response Body

The invites.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://sluby.example.com/api/v1/invites'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "role": "admin",      "created_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "max_uses": 1,      "uses": 0,      "created_by": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      }    }  ]}