Sign in

Update External Provider

PUT https://{organization}.myguper.com/api/sender/external-provider

Updates an External Provider previously created in Create. Only the fields you want to change need to be sent — name, default and data are individually optional but at least one of them is expected together with id.

Sending data replaces the whole data object — partial updates inside data are not supported.

Try-it values populated from environment ACME (Demo)


Authentication

Token

Send your user token in the x-guper-authorization header.

Headers

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Request body

Content-Type: application/json

{
    "id": 42,
    "name": "Webhook CRM v2",
    "data": {
        "url": "https://api.meucrm.com/v2/webhooks/messages",
        "authMethod": "bearer",
        "authToken": "sk-new-token-456..."
    }
}

Responses

{
    "id": 42,
    "updated": true
}

Related

Copied to clipboard