HTTP APIs and authentication

Set up requests, inspect responses and handle service errors without exposing credentials.

Request inputs

Use the service’s documented HTTPS endpoint and method. HTTP Request accepts headers, query parameters and a body as separate inputs. Set the body format, timeout, redirect and response byte limits from the block settings.

Authentication

Use the credential or authentication connector defined in the block reference. Grant only the scopes needed for the operation. Keep passwords and tokens out of URLs, text blocks, exported workflows, logs and screenshots. Follow the provider’s normal authorization and token renewal process.

Response and recovery

Check Successful status and Status code before consuming Body. Check the response type before parsing JSON. A 401 or 403 calls for checking the account, token or permissions. A 429 calls for following the provider’s rate limit. Inspect the remote result before retrying a write on a timeout.

Related blocks