curl --request GET \
--url https://eu.sequencehq.com/api/users/{id} \
--header 'Authorization: <authorization>'
{
"id": "7b1f28b9-a4ad-450b-a0ea-fd647d5109b2",
"email": "person@example.com",
"sequenceAccountIds": [
"724c4f93-8606-4a38-bfbf-50a7045e4eaa"
],
"state": "active",
"roles": [
{
"roleName": "salesUser",
"permissions": [
{
"resource": "org.customer",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.billingSchedule",
"actions": [
"read"
]
},
{
"resource": "org.quote",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"publish",
"accept"
]
},
{
"resource": "org.invoice",
"actions": [
"read"
]
},
{
"resource": "org.creditNote",
"actions": [
"read"
]
},
{
"resource": "org.usage",
"actions": [
"read"
]
},
{
"resource": "org.revenueRecognition",
"actions": [
"read"
]
},
{
"resource": "org.settings",
"actions": [
"read",
"invite"
]
},
{
"resource": "org.integration",
"actions": [
"read"
]
}
]
},
{
"roleName": "financeUser",
"permissions": [
{
"resource": "org.customer",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.billingSchedule",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"start"
]
},
{
"resource": "org.product",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.quote",
"actions": [
"read",
"execute"
]
},
{
"resource": "org.invoice",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"finalize",
"send"
]
},
{
"resource": "org.creditNote",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.usage",
"actions": [
"read"
]
},
{
"resource": "org.revenueRecognition",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.settings",
"actions": [
"read",
"invite"
]
},
{
"resource": "org.integration",
"actions": [
"read"
]
}
]
}
]
}
Retrieve the details of one of your users.
curl --request GET \
--url https://eu.sequencehq.com/api/users/{id} \
--header 'Authorization: <authorization>'
{
"id": "7b1f28b9-a4ad-450b-a0ea-fd647d5109b2",
"email": "person@example.com",
"sequenceAccountIds": [
"724c4f93-8606-4a38-bfbf-50a7045e4eaa"
],
"state": "active",
"roles": [
{
"roleName": "salesUser",
"permissions": [
{
"resource": "org.customer",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.billingSchedule",
"actions": [
"read"
]
},
{
"resource": "org.quote",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"publish",
"accept"
]
},
{
"resource": "org.invoice",
"actions": [
"read"
]
},
{
"resource": "org.creditNote",
"actions": [
"read"
]
},
{
"resource": "org.usage",
"actions": [
"read"
]
},
{
"resource": "org.revenueRecognition",
"actions": [
"read"
]
},
{
"resource": "org.settings",
"actions": [
"read",
"invite"
]
},
{
"resource": "org.integration",
"actions": [
"read"
]
}
]
},
{
"roleName": "financeUser",
"permissions": [
{
"resource": "org.customer",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.billingSchedule",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"start"
]
},
{
"resource": "org.product",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.quote",
"actions": [
"read",
"execute"
]
},
{
"resource": "org.invoice",
"actions": [
"create",
"read",
"update",
"delete",
"archive",
"finalize",
"send"
]
},
{
"resource": "org.creditNote",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.usage",
"actions": [
"read"
]
},
{
"resource": "org.revenueRecognition",
"actions": [
"create",
"read",
"update",
"delete",
"archive"
]
},
{
"resource": "org.settings",
"actions": [
"read",
"invite"
]
},
{
"resource": "org.integration",
"actions": [
"read"
]
}
]
}
]
}
Your API credentials. Eg. Basic {credentials}
.
Use this header to select an API version
2024-07-30
Sequence User ID
OK
The response is of type object
.