curl --request GET \
--url https://channels-service-alpha.fourvenues.com/auth \
--header 'X-Api-Key: <api-key>'
{
"data": {
"message": "Authed",
"channel": {
"_id": "org_channel_123",
"name": "My Channel",
"slug": "my-channel",
"hosts": [
{
"_id": "org123",
"name": "My organization.",
"slug": "my-organization.",
"created_at": "2022-01-01T00:00:00Z"
}
],
"anfitrions": [
{
"_id": "org123",
"name": "My organization.",
"slug": "my-organization.",
"created_at": "2022-01-01T00:00:00Z"
}
],
"created_at": "2024-10-01T00:00:00Z"
}
},
"success": true
}
Get information about your organization and the ones you collaborate with.
curl --request GET \
--url https://channels-service-alpha.fourvenues.com/auth \
--header 'X-Api-Key: <api-key>'
{
"data": {
"message": "Authed",
"channel": {
"_id": "org_channel_123",
"name": "My Channel",
"slug": "my-channel",
"hosts": [
{
"_id": "org123",
"name": "My organization.",
"slug": "my-organization.",
"created_at": "2022-01-01T00:00:00Z"
}
],
"anfitrions": [
{
"_id": "org123",
"name": "My organization.",
"slug": "my-organization.",
"created_at": "2022-01-01T00:00:00Z"
}
],
"created_at": "2024-10-01T00:00:00Z"
}
},
"success": true
}
OK
The response is of type object
.