get
https://partner.gupshup.io/partner/app//flows
Use this API to get a list of all flows.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request Parameters
| Key | Description | Value | Data type | Required/Optional | Constraints |
|---|---|---|---|---|---|
| Authorization | Access Token for the application | {{PARTNER_APP_TOKEN}} | String | Required | Should be a valid Partner App Access Token |
| appId | App ID to fetch the access token | {{APP_ID}} | String | Required | The Id should be a valid app Id of Gupshup |
Sample Request
curl --location --request GET 'https://partner.gupshup.io/partner/app/{{APP_ID}}/flows' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/json'Sample Response
[
{
"categories": [
"APPOINTMENT_BOOKING"
],
"id": "460785803057688",
"name": "Message templates_delivery_failed_form_1_APPOINTMENT_BOOKING_93375",
"status": "PUBLISHED",
"validation_errors": []
},
{
"categories": [
"SIGN_UP"
],
"id": "881255207342075",
"name": "Message templates_temp_signup_form_MARKETING_e7589",
"status": "PUBLISHED",
"validation_errors": []
},
{
"categories": [
"SIGN_UP"
],
"id": "356169917364619",
"name": "flow_sign_up",
"status": "PUBLISHED",
"validation_errors": []
}
]
Status Codes
| Status Code | Response | Comments |
|---|---|---|
| Success | ||
| 200 | [ { | Get all flows associated to app ID |
| Error | ||
| 401 | { "status": "error", | For invalid app Id or partner app token |