Organizations
Introduction
Feature
Management
Standard
Basic usage
Refresh Access Token
OpenAPI
Last updated
Last updated
GET /public/v2/management/organizations/ HTTP/1.1
Host: {defaultHost}
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "6e6816eb-fc1d-42bd-bb00-eff973ad207d",
"type": "organizations",
"attributes": {
"createdAt": "2024-08-20T10:45:07+00:00",
"updatedAt": "2021-08-24T15:07:35+00:00",
"name": "Recrubo_89495632",
"webhookUrl": null,
"webhookSecret": null,
"token": null
},
"relationships": {
"users": {
"links": {
"related": "/public/v2/users?filter[organizationId]=6e6816eb-fc1d-42bd-bb00-eff973ad207d"
}
}
}
},
{
"id": "54175e6c-ca94-4d47-a5f9-ab10c801e13d",
"type": "organizations",
"attributes": {
"createdAt": "2024-08-20T10:45:07+00:00",
"updatedAt": "2021-08-24T15:07:35+00:00",
"name": "Recrubo_82361056",
"webhookUrl": null,
"webhookSecret": null,
"token": null
},
"relationships": {
"users": {
"links": {
"related": "/public/v2/users?filter[organizationId]=54175e6c-ca94-4d47-a5f9-ab10c801e13d"
}
}
}
}
],
"meta": {
"total": 2,
"totalUnfiltered": 2,
"currentSize": 25,
"currentPage": 1,
"maxPage": 1
}
}POST /public/v2/management/organizations/ HTTP/1.1
Host: {defaultHost}
Authorization: YOUR_API_KEY
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 123
{
"data": {
"id": "text",
"type": "text",
"attributes": {
"name": "text",
"webhookUrl": "text",
"webhookSecret": "text",
"token": "text"
}
}
}{
"data": {
"id": "303f151b-3f33-4ddd-9779-eb522f7225a9",
"type": "organizations",
"attributes": {
"createdAt": "2024-08-20T10:45:07+00:00",
"updatedAt": "2021-08-24T15:07:35+00:00",
"name": "Test Org",
"webhookUrl": null,
"webhookSecret": null,
"token": "5I9cezE6QPYl8v9jggrN3w"
},
"relationships": {
"users": {
"links": {
"related": "/public/v2/users?filter[organizationId]=303f151b-3f33-4ddd-9779-eb522f7225a9"
}
}
}
},
"meta": {}
}PATCH /public/v2/management/organizations/{id} HTTP/1.1
Host: {defaultHost}
Authorization: YOUR_API_KEY
Content-Type: application/vnd.api+json
Accept: */*
Content-Length: 123
{
"data": {
"id": "text",
"type": "text",
"attributes": {
"name": "text",
"webhookUrl": "text",
"webhookSecret": "text",
"token": "text"
}
}
}DELETE /public/v2/management/organizations/{id} HTTP/1.1
Host: {defaultHost}
Authorization: YOUR_API_KEY
Accept: */*