Users
List team users (root + invited)
API key authentication - use your Late API key as a Bearer token
In: header
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/users"{
"currentUserId": "6507a1b2c3d4e5f6a7b8c9d0",
"users": [
{
"_id": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "John Doe",
"email": "john@example.com",
"role": "owner",
"isRoot": true,
"profileAccess": [
"all"
],
"createdAt": "2024-01-15T10:30:00Z"
},
{
"_id": "6507a1b2c3d4e5f6a7b8c9d1",
"name": "Jane Smith",
"email": "jane@example.com",
"role": "member",
"isRoot": false,
"profileAccess": [
"64f0a1b2c3d4e5f6a7b8c9d0",
"64f0a1b2c3d4e5f6a7b8c9d1"
],
"createdAt": "2024-03-20T14:45:00Z"
}
]
}{
"error": "Unauthorized"
}Get user by id (self or invited)
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/users/string"{
"user": {
"_id": "6507a1b2c3d4e5f6a7b8c9d0",
"name": "John Doe",
"email": "john@example.com",
"role": "owner",
"isRoot": true,
"profileAccess": [
"all"
]
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Webhooks
Configure webhooks to receive real-time notifications about post status changes and account events. **Available Events:** - `post.scheduled` - When a post is successfully scheduled - `post.published` - When a post is successfully published - `post.failed` - When a post fails to publish on all platforms - `post.partial` - When a post publishes to some platforms but fails on others - `account.disconnected` - When a social account is disconnected (token expired/revoked) **Security:** - Optional HMAC-SHA256 signature sent in `X-Late-Signature` header - Configure a secret key in webhook settings to enable signature verification - Custom headers can be added to webhook requests for additional authentication
Account Groups
Next Page