get
https://partner.gupshup.io/partner/app//obotoembed/verify
Use this API to verify the ownership type. If the WABA has been migrated to Embed from OBO (i.e., the client has completed the embed sign-up flow), it will reattach the credit line and update the embed allowed flag to true.
<PartnerPortalWarning />
<br />
## Request Parameters
| Key | Value | Description | Data Types | Require/Optional | Constraints |
| :------------ | :-------------------- | :----------------------------------------- | :--------- | :--------------- | :---------------------------------------------------------------------------------------------------- |
| Authorization | `{PARTNER_APP_TOKEN}` | Access Token for the application | String | Required | - Should be a valid Partner App Access Token |
| appId | `{APP_ID}` | Id of the app for which callback to be set | String | Required | - The ID should be a valid app Id of Gupshup. - It should belong to the same account as the `apikey` |
## Sample Request
```curl
curl --location --request GET 'https://partner.gupshup.io/partner/app/{APP_ID}/obotoembed/verify' \
--header 'Authorization: {PARTNER_APP_TOKEN}'Sample Response
{
"message": "Credit line added successfully for WABA id {waba_id}",
"status": "success"
}Status Codes
| Status Code | Response | Comments |
|---|---|---|
| Success | ||
| 200 | { "message": "Credit line added successfully for WABA id {waba_id}", "status": "success" } | |
| Error | ||
| 400 | { "message": "WABA is not migrated to embed yet , ownership type : ON_BEHALF_OF", "status": "error" } | |
| 400 | { "status": "error", "message": "Unable to add credit line for WABA id 349130351627715" } | |
| 429 | { "status": "error", "message": "Too Many Requests" } | 10 Requests per Minute |
| 500 | { "status": "error", "message": "Internal Server Error" } | For any Internal Error |
