S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceScheduled

List Scheduled Messages

GET
/scheduled-messages

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

page?integer
Default1
Range1 <= value <= 9007199254740991
limit?integer
Default20
Range1 <= value <= 100
filters?

Response Body

application/json

curl -X GET "https://samva.app/api/v1/scheduled-messages"
{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
      "scheduleName": "string",
      "scheduledFor": "2019-08-24T14:15:22Z",
      "timezone": "string",
      "channel": "string",
      "participantId": "9f6624b5-5f99-42b6-899f-30f2b369cbd7",
      "conversationId": "ee6e55e8-45fe-4a3e-9bc8-4669f9fdf77a",
      "payload": "string",
      "status": "pending",
      "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
      "attemptNumber": -2147483648,
      "failureReason": "string",
      "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "participant": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "displayName": "string",
        "type": "human",
        "channelIdentities": "string"
      }
    }
  ],
  "pagination": {
    "page": -9007199254740991,
    "limit": -9007199254740991,
    "total": -9007199254740991,
    "totalPages": -9007199254740991
  }
}
curl -X GET "https://samva.app/api/v1/scheduled-messages"