cURL
curl --request GET \ --url https://api.elemente.ai/api/v1/actions/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "workspace": "354736587945343", "type": "<string>", "name": "Order checking", "description": "checking customer order status", "waitingMessage": "Hold on while i check your order", "method": "GET", "url": "https://api.elemente.ai/order-phone-number?phone={phone}", "headers": [ { "key": "X-Shopify-Access-Token", "value": "{{shopify-access-key}}" } ], "queryParams": [ { "key": "phone", "value": "{phone}" } ], "inputVariables": [ { "name": "phone", "description": "Phone number", "required": true, "dataType": "string" } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the action
The requested action
The response is of type object.
object