FAQ
Can I use JSON to connect to any REST API?
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.
How do I extract nested data from a JSON response?
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).
What's the difference between GET, POST, PUT, PATCH, and DELETE?
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.
How do I add authentication to a JSON data flow?
Add authentication in the Request headers field. The format depends on your API:
API Key:
X-API-Key: YOUR_API_KEYorAuthorization: YOUR_API_KEYBearer token:
Authorization: Bearer YOUR_TOKENBasic auth:
Authorization: Basic BASE64_ENCODED_CREDENTIALSCustom header: Any header your API specifies
Add each header on a new line. Check your API documentation for the exact format required.
Never share your API keys or tokens publicly. Keep them secure in Coupler.io.
Can I use a request body with GET requests?
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).
How do I format a request body in YAML?
Convert your JSON request body to YAML format using a tool like JSON2YAML.
JSON example:
{
"customer_id": 1,
"customer_email": "[email protected]"Last updated
Was this helpful?
