Skip to main content
POST
Query SQL

Authorizations

Authorization
string
header
required

This API uses OAuth 2.0 with the authorization code grant flow.

FlowAuthorization Code
Authorization URL
https://app.attio.com/authorize
Token URL
https://app.attio.com/oauth/token
Scopes2
record_permission:read
View, and optionally write, records.
object_configuration:read
View, and optionally write, the configuration and attributes of objects.

Body

application/json
sql
string
required

The SQL query to be executed.

Example:

"SELECT * FROM companies WHERE companies.name = 'Fundstack'"

Response

Success

Success

data
object
required
Example: