Default
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /migrate-tokens HTTP/1.1
Accept: */*
POST /create-client HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"name": "text",
"can_get_integrations": false
}{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"api_key": "text",
"is_active": true,
"can_get_integrations": false
},
"meta": null
}GET /clients HTTP/1.1
Accept: */*
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"api_key": "text",
"is_active": true,
"can_get_integrations": false
}
],
"meta": null
}POST /clients HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"name": "text",
"can_get_integrations": false
}{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"api_key": "text",
"is_active": true,
"can_get_integrations": false
},
"meta": null
}PATCH /clients HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"x_api_key": "text",
"name": "text",
"can_get_integrations": true
}{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"api_key": "text",
"is_active": true,
"can_get_integrations": false
},
"meta": null
}POST /clients/register-user HTTP/1.1
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"identifier": "text"
}{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"identifier": "text",
"secret": "text",
"secret_preview": "text",
"is_active": true,
"integrations": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"connector": "text",
"user_identifier": "text",
"selected": true
}
]
},
"meta": null
}POST /users HTTP/1.1
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"identifier": "text"
}{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"identifier": "text",
"secret": "text",
"secret_preview": "text",
"is_active": true,
"integrations": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"connector": "text",
"user_identifier": "text",
"selected": true
}
]
},
"meta": null
}POST /clients/oauth-token HTTP/1.1
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"identifier": "text",
"secret": "text"
}{
"data": {
"token": "text",
"token_type": "text",
"expires_at": "text",
"is_revoked": true,
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000"
},
"meta": null
}DELETE /clients/oauth-token HTTP/1.1
x-api-key: text
authorization: text
Accept: */*
{
"data": true,
"meta": null
}POST /auth/tokens HTTP/1.1
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"identifier": "text",
"secret": "text"
}{
"data": {
"token": "text",
"token_type": "text",
"expires_at": "text",
"is_revoked": true,
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000"
},
"meta": null
}DELETE /auth/tokens HTTP/1.1
x-api-key: text
authorization: text
Accept: */*
{
"data": true,
"meta": null
}GET /clients/user HTTP/1.1
authorization: text
Accept: */*
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"identifier": "text",
"secret": "text",
"secret_preview": "text",
"is_active": true,
"integrations": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"connector": "text",
"user_identifier": "text",
"selected": true
}
]
},
"meta": null
}GET /users/me HTTP/1.1
authorization: text
Accept: */*
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"identifier": "text",
"secret": "text",
"secret_preview": "text",
"is_active": true,
"integrations": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"connector": "text",
"user_identifier": "text",
"selected": true
}
]
},
"meta": null
}