Invites
Create invite
Authorization<token>
User API key (Bearer scp_u_...). Create in Platform > API Keys.
In: header
Request Body
application/json
network_ids*array<string>
permissions*string
Value in
"Owner" | "Admin" | "Member" | "Viewer"expiration_hours?integer|null
Format
int64send_to?string|null
Response Body
application/json
application/json
curl -X POST "https://loading/api/v1/invites" \ -H "Content-Type: application/json" \ -d '{ "network_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "permissions": "Owner" }'{
"meta": {
"api_version": 1,
"server_version": "0.13.5"
},
"success": true,
"data": {
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
"expires_at": "2019-08-24T14:15:22Z",
"network_ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
"permissions": "Owner",
"send_to": "string",
"url": "string",
"created_at": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"updated_at": "2019-08-24T14:15:22Z"
},
"error": "string"
}{
"success": true,
"error": "string"
}