Create a tech-provider onboarded app and make it live

Creates a WhatsApp app for the partner in the wallet named by walletName, embeds the WABA and phone, and sets the subscription URL (subscriptionUrl) when given.

Request parameters

Path parameters

KeyDescriptionValuesData TypeRequired/Optional
partnerIdIdentifier of the partner account. Must be the partner the token authenticates.13824IntegerRequired

Body

KeyDescriptionValuesData TypeRequired/Optional
nameName for the new app. Must be unique across the partner's apps.northwind-support—Required
wabaIdWhatsApp Business Account id returned by the Embedded Signup.104857600123456—Required
phonePhone number registered in the Embedded Signup, in international format. A leading +, spaces, dashes and underscores are ignored.+91XXXXXXXX10—Required
walletNameName of one of this partner's own wallets (not a brand/customer wallet), matched case-insensitively. The app's usage is billed to it.northwind-main—Required
subscriptionUrlURL the app's WhatsApp events are sent to. Not set when omitted.https://hooks.northwind.example/whatsapp—Optional
storageRegionRegion the app's data is stored in. The app's default when omitted.IN—Optional
forcePassed to WhatsApp as the force flag when the phone is embedded. Defaults to false.false—Optional

Sample cURL — Create a tech-provider onboarded app and make it live.

curl --request POST \
  --url 'https://partner.gupshup.io/partner/bizgate/partner/13824/tpp/app' \
  --header 'Authorization: Bearer <UT>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "name" : "northwind-support",
  "wabaId" : "104857600123456",
  "phone" : "+91XXXXXXXX10",
  "walletName" : "northwind-main",
  "subscriptionUrl" : "https://hooks.northwind.example/whatsapp",
  "storageRegion" : "IN",
  "force" : false
}'

Sample success response (200)

{
  "status": "success",
  "data": {
    "appId": "4c6b1d2e-9f3a-4e5b-8c7d-0a1b2c3d4e5f",
    "subscriptionUrlSet": true,
    "message": null
  }
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Identifier of the partner account. Must be the partner the token authenticates.

Body Params
string
required

Name for the new app. Must be unique across the partner's apps.

string
required

WhatsApp Business Account id returned by the Embedded Signup.

string
required

Phone number registered in the Embedded Signup, in international format. A leading +, spaces, dashes and underscores are ignored.

string
required

Name of one of this partner's own wallets (not a brand/customer wallet), matched case-insensitively. The app's usage is billed to it.

string

URL the app's WhatsApp events are sent to. Not set when omitted.

string

Region the app's data is stored in. The app's default when omitted.

boolean

Passed to WhatsApp as the force flag when the phone is embedded. Defaults to false.

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json