The Okta Identity Source API provides a mechanism to synchronize an HR source (the custom identity source) with Okta user profiles in an org. See Build an Anything-as-a-Source custom client integration.
Lists all identity source sessions for the given identity source instance
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "aps1qqonvr2SZv6o70h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "CREATED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T15:56:05.000Z",
 - "lastUpdated": "2022-05-05T16:15:44.000Z"
 
}, - {
- "id": "aps1quck606ngubVq0h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "TRIGGERED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T16:56:05.000Z",
 - "lastUpdated": "2022-05-05T17:15:44.000Z"
 
}, - {
- "id": "aps1qzy2acb5jDlUc0h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "IN_PROGRESS",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T17:56:05.000Z",
 - "lastUpdated": "2022-05-05T18:15:44.000Z"
 
}, - {
- "id": "aps1qqne8c1JHkMdF0h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "EXPIRED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T18:56:05.000Z",
 - "lastUpdated": "2022-05-05T19:15:44.000Z"
 
}, - {
- "id": "aps1qqonvr2SZv6o70h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "CLOSED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T19:56:05.000Z",
 - "lastUpdated": "2022-05-05T20:15:44.000Z"
 
} 
]Creates an identity source session for the given identity source instance
Success
Forbidden
Not Found
Too Many Requests
{- "id": "aps1qqonvr2SZv6o70h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "CREATED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T15:56:05.000Z",
 - "lastUpdated": "2022-05-05T16:15:44.000Z"
 
}Retrieves an identity source session for a given identity source ID and session ID
Success
Forbidden
Not Found
Too Many Requests
{- "id": "aps1qqonvr2SZv6o70h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "CREATED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T15:56:05.000Z",
 - "lastUpdated": "2022-05-05T16:15:44.000Z"
 
}Deletes an identity source session for a given identity source ID and session Id
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
 - "errorSummary": "You do not have permission to perform the requested action",
 - "errorLink": "E0000006",
 - "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
 - "errorCauses": [ ]
 
}Uploads external IDs of entities that need to be deleted in Okta from the identity source for the given session
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "entityType": "USERS",
 - "profiles": [
- {
- "externalId": "EXT123456784C2IF"
 
}, - {
- "externalId": "EXT123456784C3IF"
 
}, - {
- "externalId": "EXT123456784C4IF"
 
} 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Uploads the group memberships that need to be deleted in Okta from the identity source for the given session
Array of objects (IdentitySourceGroupMembershipsDeleteProfile)   [ 1 .. 200 ] items  Array of group memberships that need to be deleted in Okta  | |
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "memberships": [
- {
- "groupExternalId": "GROUPEXT123456784C2IFA",
 - "memberExternalIds": [
- "USEREXT123456784C2IFA",
 - "USEREXT123456784C3IFB",
 - "USEREXT123456784C4IFC"
 
] 
}, - {
- "groupExternalId": "GROUPEXT123456784C2IFB",
 - "memberExternalIds": [
- "USEREXT123456784C2IFA",
 - "USEREXT123456784C3IFB",
 - "USEREXT123456784C4IFC"
 
] 
} 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Uploads the group memberships that need to be inserted or updated in Okta from the identity source for the given session
Array of objects (IdentitySourceGroupMembershipsUpsertProfile)   [ 1 .. 200 ] items  Array of group memberships that need to be inserted or updated in Okta  | |
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "memberships": [
- {
- "groupExternalId": "GROUPEXT123456784C2IFA",
 - "memberExternalIds": [
- "USEREXT123456784C2IFA",
 - "USEREXT123456784C3IFB",
 - "USEREXT123456784C4IFC"
 
] 
}, - {
- "groupExternalId": "GROUPEXT123456784C2IFB",
 - "memberExternalIds": [
- "USEREXT123456784C2IFA",
 - "USEREXT123456784C3IFB",
 - "USEREXT123456784C4IFC"
 
] 
} 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Uploads external IDs of groups that need to be deleted in Okta from the identity source for the given session
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "externalIds": [
- "GROUPEXT123456784C2IF",
 - "GROUPEXT123456784C3IF",
 - "GROUPEXT123456784C4IF"
 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Uploads the group profiles without memberships that need to be inserted or updated in Okta from the identity source for the given session
Array of objects  [ 1 .. 200 ] items  Array of group profiles that needs to be inserted or updated in Okta  | |||||
 Array ([ 1 .. 200 ] items) 
  | |||||
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "profiles": [
- {
- "externalId": "GROUPEXT123456784C2IF",
 - "profile": {
- "displayName": "group1",
 - "description": "group1 description"
 
} 
}, - {
- "externalId": "GROUPEXT123456784C3IF",
 - "profile": {
- "displayName": "group2",
 - "description": "group2 description"
 
} 
} 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Uploads entities that need to be inserted or updated in Okta from the identity source for the given session
| entityType | string The type of data to upsert into the session. Currently, only   | ||||
Array of objects Array of user profiles to be uploaded  | |||||
 Array  
  | |||||
Accepted
Bad Request
Forbidden
Not Found
Too Many Requests
{- "entityType": "USERS",
 - "profiles": [
- {
- "externalId": "EXT123456784C2IF",
 - "profile": {
- "userName": "isaac.brock@example.com",
 - "firstName": "Isaac",
 - "lastName": "Brock",
 - "email": "isaac.brock@example.com",
 - "secondEmail": "isaac2.brock@example.com",
 - "mobilePhone": "123-456-7890",
 - "homeAddress": "Kirkland, WA"
 
} 
} 
] 
}{- "errorCode": "E0000001",
 - "errorSummary": "Api validation failed: {0}",
 - "errorLink": "E0000001",
 - "errorId": "sampleiCF-8D5rLW6myqiPItW",
 - "errorCauses": [ ]
 
}Starts the import from the identity source described by the uploaded bulk operations
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "aps1qqonvr2SZv6o70h8",
 - "identitySourceId": "0oa3l6l6WK6h0R0QW0g4",
 - "status": "TRIGGERED",
 - "importType": "INCREMENTAL",
 - "created": "2022-04-04T15:56:05.000Z",
 - "lastUpdated": "2022-05-05T18:15:44.000Z"
 
} 
]