curl 'https://api.sendops.dev/v1/attributes/00000000-0000-0000-0000-000000000000' \
-H "Authorization: Bearer $SENDOPS_API_KEY " const res = await fetch ( "https://api.sendops.dev/v1/attributes/00000000-0000-0000-0000-000000000000" , {
method: "GET" ,
headers: {
Authorization: `Bearer ${ process . env . SENDOPS_API_KEY }`
},
});
const body = await res. json (); import os, requests
r = requests.get( "https://api.sendops.dev/v1/attributes/00000000-0000-0000-0000-000000000000" , headers = { "Authorization" : f "Bearer { os.environ[ 'SENDOPS_API_KEY' ] } " })
print (r.json()) 200 401 403 404 429 500
application/json {
"id" : "00000000-0000-0000-0000-000000000000" ,
"name" : "string" ,
"type" : "string" ,
"enum_values" : [
"string"
],
"description" : "string" ,
"formula" : "string" ,
"origin" : "managed" ,
"source_path" : "string" ,
"last_synced_at" : "2026-05-17T20:00:00Z" ,
"created_at" : "2026-05-17T20:00:00Z" ,
"updated_at" : "2026-05-17T20:00:00Z"
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
}