Skip to content
gist.link ↗

webhookEndpoints

Query Shipping API — POST https://shipping.api.gist.link/graphql

The webhookEndpoints query on the Shipping API.

shipping:query:webhookEndpoints

The calling IAM key must hold this permission (or a wildcard that covers it: shipping:query:* or shipping:*) and the access token must have been minted with audience=shipping. See Permissions.

type Query {
webhookEndpoints: [WebhookEndpoint!]!
}

This query takes no arguments.

[WebhookEndpoint!]! — see the Shipping types reference.

Terminal window
curl https://shipping.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query WebhookEndpoints { webhookEndpoints { uuid url events active secret createdAt } }",
"variables": {}
}
JSON