curl is a tool that allows you to make HTTP requests from the command line or through scripting. curl makes use of libcurl, a URL transfer library.
In our online documentation, the curl command examples follow OSX/Linux/Unix command syntax.
If you are using Windows Command shell or PowerShell, there are a few notable differences in using these curl snippets.
Windows does not support single quotes in Command shell, nor does it support double quotes inside of double quotes. Each example must be edited:
Change single quotes to double quotes
If you need a double quote inside a double quote, escape the second set of double quotes, for instance: "{\"emailAddress\":\"user@example.com\"}"
Line continuation backslashes are used for readability and are not necessary. These backslashes may be deleted. Or, replace the backslash with a ^ in Command shell or ` in PowerShell.
OSX/Linux/Unix | Windows cmd.exe | PowerShell | |
Line Continuation Character | \ | ^ | ` |
Quotes types | ' | " | ' |
curl --request POST
--url '/sandbox/token' --user {{client_id}}:{{client_secret}}
--header 'accept: application/json'
--header 'content-type: application/x-www-form-urlencoded'
--data grant_type=authorization_code
--data redirect_uri=/flow/callback
--data code=<code> | jq
# | jq is optional
Date | Update |
2025-Jun-09 | Implemented UAT changes |
2025-Jan-02 | Original |