Optin App User

Use this API to set Optin for the app user.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Parameters

ParametersValueDescription
Authorization{{PARTNER_APP_TOKEN}}Access Token for the application
APP ID{{APP_ID}}Unique Identifier for Gupshup App
phone91xxxxxxxxxxPhone number of user to get status for.

Sample Request

curl --location --request PUT 'https://partner.gupshup.io/partner/app/{{APP_ID}}/optin' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'phone={{PHONE_NUMBER}}'

Sample Response

  Status code will be - 202  (Accepted)
    Response will be empty as it is async process
Path Params
string
required
Form Data
integer
Headers
string
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!