FAQ

chevron-rightCan I use JSON to connect to any REST API?hashtag

Yes, JSON works with virtually any REST API that returns JSON data. This includes:

  • Third-party SaaS platforms with REST APIs

  • Custom internal APIs

  • Microservices and webhooks

  • Any endpoint that supports GET, POST, PUT, PATCH, or DELETE

If the API requires authentication (API key, OAuth token, etc.), add it to the Request headers field.

chevron-rightHow do I extract nested data from a JSON response?hashtag

Use the Path field with dot notation to navigate nested objects.

Example 1: If your API returns { "data": { "users": [{...}] } }, set Path to data.users

Example 2: If your API returns { "response": { "results": [{...}] } }, set Path to response.results

Leave Path blank if your API returns data at the root level (e.g., a direct array of objects).

chevron-rightWhat's the difference between GET, POST, PUT, PATCH, and DELETE?hashtag
  • GET — Fetch (retrieve) data. No request body needed. Most common for APIs.

  • POST — Create new data or submit queries. Usually requires a request body.

  • PUT — Replace an entire record. Requires a request body with complete data.

  • PATCH — Update specific fields of a record. Requires a request body with only the fields to update.

  • DELETE — Delete a record or request. May or may not require a request body.

Check your API documentation to see which method is required.

chevron-rightHow do I add authentication to a JSON data flow?hashtag

Add authentication in the Request headers field. The format depends on your API:

  • API Key: X-API-Key: YOUR_API_KEY or Authorization: YOUR_API_KEY

  • Bearer token: Authorization: Bearer YOUR_TOKEN

  • Basic auth: Authorization: Basic BASE64_ENCODED_CREDENTIALS

  • Custom header: Any header your API specifies

Add each header on a new line. Check your API documentation for the exact format required.

circle-info

Never share your API keys or tokens publicly. Keep them secure in Coupler.io.

chevron-rightCan I use a request body with GET requests?hashtag

No, GET requests do not support request bodies. If your API requires a body, use POST, PUT, or PATCH instead.

For GET requests, use URL query parameters to pass filtering or pagination parameters (e.g., ?limit=100&filter=active).

chevron-rightHow do I format a request body in YAML?hashtag

Convert your JSON request body to YAML format using a tool like JSON2YAMLarrow-up-right.

JSON example:

{
  "customer_id": 1,
  "customer_email": "[email protected]"

Last updated

Was this helpful?