Accounts
List connected accounts
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Query Parameters
010"createdAt" | "updatedAt" | "name" | "referenceCode"Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Response Body
application/json
application/json
curl -X GET "https://api.obligo.com/accounts?offset=0&limit=10&sortBy=createdAt&descending=true&search=string" \ -H "Obligo-Version: string"{
"totalItems": 0,
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"displayName": "string",
"consents": [
{
"type": "ObligoTermsOfService",
"version": "2022-07-11",
"firstName": "string",
"lastName": "string",
"ipAddress": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
],
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"connectedToAccountId": "b5c2868f-b487-44c3-8d83-3cc110c24b91"
}
]
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Create a connected account
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Query Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Optional human-friendly name shown to users instead of name. When set here it is recorded as manually set and is never replaced by an automatically derived value. When omitted, a display name is derived from name.
1 <= length <= 255Response Body
application/json
application/json
curl -X POST "https://api.obligo.com/accounts?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Get a connected account
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Response Body
application/json
application/json
curl -X GET "https://api.obligo.com/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"referenceCode": "string",
"name": "string",
"displayName": "string",
"consents": [
{
"type": "ObligoTermsOfService",
"version": "2022-07-11",
"firstName": "string",
"lastName": "string",
"ipAddress": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
],
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"connectedToAccountId": "b5c2868f-b487-44c3-8d83-3cc110c24b91"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Update a connected account
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidHeader Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
Optional human-friendly name shown to users instead of name. When set here it is recorded as manually set and is never replaced by an automatically derived value. Send null to discard a manually set name and go back to one derived from name, which also lets automatically derived values apply again. When omitted, the display name is left unchanged unless it was automatically derived and name changes, in which case it is re-derived from the new name.
1 <= length <= 255Response Body
application/json
application/json
curl -X PUT "https://api.obligo.com/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Obligo-Version: string" \ -H "Content-Type: application/json" \ -d '{}'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}Add a consent to an account
HTTP Basic authentication using clientId as username and clientSecret as password
In: header
Path Parameters
uuidQuery Parameters
Idempotency key for write requests. Cached for 24 hours.
Header Parameters
API version to use for the request. When you omit the header, the API version set on your app is used.
"ObligoTermsOfService"The version of the terms of service the consent was given to, one of the values listed here. Send it exactly as listed, case included. For compatibility the API also accepts a trailing .pdf or .html and the earlier name tos-2026-05-15, and stores the matching value from this list.
"2022-07-11" | "2025-05-20" | "2026-05-15"First name of the person who gave the consent. Optional.
2 <= length <= 20Last name of the person who gave the consent. Optional.
2 <= length <= 20IP address of the person who gave the consent. Optional when creating an account; required when adding a consent to an existing account.
When the consent was given. Optional when creating an account; required when adding a consent to an existing account.
date-timeResponse Body
application/json
application/json
curl -X POST "https://api.obligo.com/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/consents?idempotencyId=string" \ -H "Obligo-Version: string" \ -H "Content-Type: application/json" \ -d '{ "type": "ObligoTermsOfService", "version": "2022-07-11" }'{
"requestId": "string",
"message": "string",
"errorCode": "string"
}{
"requestId": "string",
"message": "string",
"errorCode": "string"
}