Move a record to a stage
curl --request PUT \
--url https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"stage": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({stage: '<string>'})
};
fetch('https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage"
payload = { "stage": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"id": "8d9e0f1a-2b3c-4d4e-9f6a-7b8c9d0e1f2a",
"code": "FA-00012",
"result": "updated",
"stageId": "7c8d9e0f-1a2b-4c3d-8e5f-6a7b8c9d0e1f",
"stageChange": {
"fromStageId": null,
"toStageId": "7c8d9e0f-1a2b-4c3d-8e5f-6a7b8c9d0e1f"
},
"protectedFields": []
}
}{
"ok": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "Invalid or revoked API key"
}
}{
"ok": false,
"error": {
"code": "FORBIDDEN",
"message": "This API key lacks the opportunities:write scope",
"details": {
"requiredScope": "opportunities:write"
}
}
}{
"ok": false,
"error": {
"code": "NOT_FOUND",
"message": "Opportunity not found"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request is not valid",
"details": {
"fieldErrors": {
"limit": [
"At most 100"
]
}
}
}
}{
"ok": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests for this API key or its organization"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Move a record to a stage
Requires the records:write permission.
PUT
/
lists
/
{listId}
/
records
/
{ref}
/
stage
Move a record to a stage
curl --request PUT \
--url https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"stage": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({stage: '<string>'})
};
fetch('https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.eloout.com/api/v1/lists/{listId}/records/{ref}/stage"
payload = { "stage": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"id": "8d9e0f1a-2b3c-4d4e-9f6a-7b8c9d0e1f2a",
"code": "FA-00012",
"result": "updated",
"stageId": "7c8d9e0f-1a2b-4c3d-8e5f-6a7b8c9d0e1f",
"stageChange": {
"fromStageId": null,
"toStageId": "7c8d9e0f-1a2b-4c3d-8e5f-6a7b8c9d0e1f"
},
"protectedFields": []
}
}{
"ok": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "Invalid or revoked API key"
}
}{
"ok": false,
"error": {
"code": "FORBIDDEN",
"message": "This API key lacks the opportunities:write scope",
"details": {
"requiredScope": "opportunities:write"
}
}
}{
"ok": false,
"error": {
"code": "NOT_FOUND",
"message": "Opportunity not found"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request is not valid",
"details": {
"fieldErrors": {
"limit": [
"At most 100"
]
}
}
}
}{
"ok": false,
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests for this API key or its organization"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Headers
1 to 255 printable ASCII characters without spaces, scoped to the API key. A retry of the same request (method, path, query and body) within 24 h gets the stored answer with Idempotent-Replayed: true and does not run again; the same key with another request is 422; while the first runs, 409. Answers of 500 and above are not stored: the key is released and a retry runs the write again. Ignored on a dry run.
Maximum string length:
255