cURL
curl --request POST \
--url https://api.relay.link/execute/permits \
--header 'Content-Type: application/json' \
--data '
{
"kind": "<string>",
"requestId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({kind: '<string>', requestId: '<string>'})
};
fetch('https://api.relay.link/execute/permits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/execute/permits"
payload = {
"kind": "<string>",
"requestId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"steps": [
{
"id": "<string>",
"action": "<string>",
"description": "<string>",
"kind": "<string>",
"items": [
{
"status": "<string>",
"data": {
"to": "<string>",
"data": "<string>",
"value": "<string>",
"chainId": 123
},
"check": {
"endpoint": "<string>",
"method": "<string>"
}
}
]
}
],
"deprecation": {
"message": "<string>",
"deprecatedAt": "<string>",
"migrationGuide": "<string>",
"throttledFrom": "<string>",
"sunsetAt": "<string>",
"successor": "<string>"
}
}{
"message": "<string>",
"errorCode": "<string>",
"errorData": {
"chainId": 123,
"currency": "<string>",
"required": "<string>",
"available": "<string>",
"spender": "<string>"
}
}Deprecated
Submit Permit (v1)
deprecated
Deprecated. Submits a permit from the quote API. Use POST /execute/permits/v2 for new integrations.
POST
/
execute
/
permits
cURL
curl --request POST \
--url https://api.relay.link/execute/permits \
--header 'Content-Type: application/json' \
--data '
{
"kind": "<string>",
"requestId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({kind: '<string>', requestId: '<string>'})
};
fetch('https://api.relay.link/execute/permits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/execute/permits"
payload = {
"kind": "<string>",
"requestId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"steps": [
{
"id": "<string>",
"action": "<string>",
"description": "<string>",
"kind": "<string>",
"items": [
{
"status": "<string>",
"data": {
"to": "<string>",
"data": "<string>",
"value": "<string>",
"chainId": 123
},
"check": {
"endpoint": "<string>",
"method": "<string>"
}
}
]
}
],
"deprecation": {
"message": "<string>",
"deprecatedAt": "<string>",
"migrationGuide": "<string>",
"throttledFrom": "<string>",
"sunsetAt": "<string>",
"successor": "<string>"
}
}{
"message": "<string>",
"errorCode": "<string>",
"errorData": {
"chainId": 123,
"currency": "<string>",
"required": "<string>",
"available": "<string>",
"spender": "<string>"
}
}POST /execute/permits is deprecated as of November 25, 2026: its rate limit is reduced in stages from January 9, 2027 until it is retired on February 23, 2027. Use POST /execute/permits/v2, which takes the same request and returns flat steps. See the migration guide for the timeline and how to upgrade.Body
application/json
Was this page helpful?