GET
/Organizations/{OrganizationSid}/scim/Users
curl \
--request GET 'https://preview-iam.twilio.com/Organizations/OR33f4f3aa6fffe840d000f8ef22e883db/scim/Users' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"Resources": [
{
"id": "string",
"externalId": "string",
"userName": "string",
"displayName": "string",
"name": {
"givenName": "string",
"familyName": "string"
},
"emails": [
{
"primary": true,
"value": "string",
"type": "string"
}
],
"active": true,
"locale": "string",
"timezone": "string",
"schemas": [
"string"
],
"meta": {
"resourceType": "string",
"created": "2025-05-04T09:42:00Z",
"lastModified": "2025-05-04T09:42:00Z",
"version": "string"
}
}
],
"totalResults": 42,
"schemas": [
"string"
]
}
Response examples (400)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (401)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (403)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}
Response examples (429)
# Headers
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, OPTIONS
Access-Control-Allow-Headers: Content-Type, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: X-Custom-Header1, X-Custom-Header2
# Payload
{
"schemas": [
"string"
],
"detail": "string",
"scimType": "invalidFilter",
"status": "string",
"code": 42,
"moreInfo": "string"
}