List Briefings
Returns one page of Briefings, most recently updated first. Use scope to choose
between organization Briefings and tenant Briefings.
To list every Briefing in one tenant, including those its users
created, call with an organization Admin's token,
scope=tenants and tenantId:
GET /api/v1/briefings?scope=tenants&tenantId=tenant_123Leave out tenantId to list tenant Briefings across all tenants.
Authorization
BearerAuth A project-scoped access token. Generate one via the Token API with your project ID and project secret.
In: header
Query Parameters
Which Briefings to list. organization (the default) lists Briefings not tied to a tenant. tenants lists Briefings in tenants, and requires an organization Admin. The value is plural: tenant is rejected with 400. Ignored for tenant users, who always see only their own Briefings.
"organization""organization" | "tenants"With scope=tenants, only Briefings in this tenant. Ignored otherwise.
With scope=tenants, only Briefings this tenant user created. Ignored otherwise.
Only Briefings with this status. Case does not matter.
"ACTIVE" | "PAUSED" | "DISABLED"Only Briefings whose name contains this text, ignoring case.
Page number, starting at 1.
11 <= value <= 10000Briefings per page.
251 <= value <= 100Response Body
application/json
application/json
application/json
application/json
curl -X get "https://semaphor.cloud/api/v1/briefings"{
"briefings": [
{
"id": "string",
"name": "string",
"description": "string",
"status": "ACTIVE",
"scheduleExpr": "0 8 * * 1",
"timezone": "America/New_York",
"nextRunAt": "2019-08-24T14:15:22Z",
"scope": {
"type": "organization",
"label": "string",
"tenantId": "string",
"tenantName": "string"
},
"creator": {
"type": "organization",
"id": "string",
"name": "string",
"email": "string",
"label": "string"
},
"deliveryConfig": {
"recipients": [
{
"type": "tenant_user",
"tenantUserId": "string"
}
],
"channels": [
"EMAIL"
],
"subject": "string",
"message": "string"
},
"source": {},
"body": {},
"attachments": [
{}
],
"presentation": {},
"lastRunAt": "2019-08-24T14:15:22Z",
"lastRunStatus": "string",
"hasActiveRun": true,
"canManage": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"total": 0,
"page": 0,
"pageSize": 0
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}