ReferenceWhatsApp Business API
Список WhatsApp Flow
GET
Список WhatsApp Flows этого WABA. Набор полей задаётся параметром fields.
JWT tokenquery
token<token>fields?stringСписок полей через запятую (id,name,status,categories,preview,validation_errors,json_version,data_api_version,endpoint_uri,data_channel_uri,whatsapp_business_account)
Список Flow
application/json- response
items?array<>paging?count?integertotal?integercurl -X GET 'https://api.1msg.io/123/flows'{ "items": [ { "id": "string", "name": "string", "status": "DRAFT", "categories": [ "SIGN_UP" ], "validationErrors": [ { "error": "string", "errorType": "string", "message": "string", "lineStart": 0, "lineEnd": 0, "columnStart": 0, "columnEnd": 0, "pointers": [ { "lineStart": 0, "lineEnd": 0, "columnStart": 0, "columnEnd": 0, "path": "string" } ] } ], "jsonVersion": "string", "dataApiVersion": "string", "endpointUri": "http://example.com", "dataChannelUri": "http://example.com", "preview": { "previewUrl": "http://example.com", "expiresAt": "2019-08-24T14:15:22Z", "id": "string" }, "whatsappBusinessAccount": {} } ], "paging": {}, "count": 0, "total": 0}