Accounts are your primary resource for configuring the Yardstik platform. Use this to manage users, settings, and API keys.
List all accounts that you have access to.
OK
Bad Request
Unauthorized
Forbidden
Not Found
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com",
- "url": "string",
- "tech_email_address": "user@example.com",
- "support_email_address": "user@example.com",
- "support_phone": "string",
- "compliance_email_address": "user@example.com",
- "actions_email_address": "user@example.com",
- "configurations": {
- "client_app": {
- "disable_invite_button": true
}, - "sub_accounts": {
- "receive_webhooks": true
}, - "managed_adverse_action": "string",
- "allow_candidate_consented": "string"
}, - "features": {
- "view:reports": true,
- "create:reports": true,
- "view:candidates": true,
- "view:invitations": true,
- "create:api_tokens": true,
- "create:candidates": true,
- "create:web_tokens": true,
- "create:invitations": true,
- "create:sub_accounts": true,
- "create:account_webhooks": true
}, - "company_phone_number": "string",
- "additional_company_info": "string",
- "owner_title": "string",
- "legal_business_name": "string",
- "state_of_incorporation": "string",
- "ein": "string",
- "legal_entity_type": "string",
- "billing_contact_first_name": "string",
- "billing_contact_last_name": "string",
- "billing_email": "string",
- "address": {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "strin",
- "current": true
}, - "logo": "string",
- "meta": {
- "entity": "string"
}, - "permissible_purposes": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "required_signed_documents": "string",
- "signed_documents": "string"
}
]
}
]Generate a new API key.
Created
Unauthorized
Forbidden
Not Found
Unprocessable Entity
{ }{- "id": "70adc786-904b-4954-9adb-0ede9f949c62",
- "api_token": "c6b6e55f-5b3a-479a-9ea8-d95d13856c7d",
- "name": "Checking x",
- "header": "Authorization: User c6b6e55f-5b3a-479a-9ea8-d95d13856c7d"
}Account settings for a given account ID.
OK
Unauthorized
Not Found
{- "styles": {
- "primary_color": "FFCD01",
- "secondary_color": "FFCD02",
- "navigation": {
- "primary_color": "FFCD01",
- "secondary_color": "FFCD02",
- "accent_color": "8E17BF"
}, - "invitation": {
- "primary_color": "FFCD01"
}
}, - "invitations": {
- "expiration_in_days": 7
}, - "adverse_actions": {
- "final_adverse_notification_days": 7
}, - "reports": {
- "create_delay_for_same_account_package": 30
}, - "report_notifications": {
- "clear": true,
- "consider": true,
- "cancel": false,
- "final_adverse_reminder": true,
- "notify_only_user_who_created": false,
- "notify_only_group_recipients": false
}, - "info_request_notifications": {
- "create": true,
- "unable_to_process": true
}
}Get a single account setting for the given account ID and setting key.
OK
Unauthorized
Not Found
{- "primary_color": "FFCD01",
- "secondary_color": "FFCD01"
}Update an account setting for the given account ID and setting key.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
{- "primary_color": "FFCD01"
}{ }Account details.
OK
Created
Bad Request
Unauthorized
Not Found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "account_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email_address": "user@example.com",
- "url": "string",
- "tech_email_address": "user@example.com",
- "support_email_address": "user@example.com",
- "support_phone": "string",
- "compliance_email_address": "user@example.com",
- "actions_email_address": "user@example.com",
- "configurations": {
- "client_app": {
- "disable_invite_button": true
}, - "sub_accounts": {
- "receive_webhooks": true
}, - "managed_adverse_action": "string",
- "allow_candidate_consented": "string"
}, - "features": {
- "view:reports": true,
- "create:reports": true,
- "view:candidates": true,
- "view:invitations": true,
- "create:api_tokens": true,
- "create:candidates": true,
- "create:web_tokens": true,
- "create:invitations": true,
- "create:sub_accounts": true,
- "create:account_webhooks": true
}, - "company_phone_number": "string",
- "additional_company_info": "string",
- "owner_title": "string",
- "legal_business_name": "string",
- "state_of_incorporation": "string",
- "ein": "string",
- "legal_entity_type": "string",
- "billing_contact_first_name": "string",
- "billing_contact_last_name": "string",
- "billing_email": "string",
- "address": {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "city": "string",
- "state": "st",
- "zip_code": "strin",
- "current": true
}, - "logo": "string",
- "meta": {
- "entity": "string"
}, - "permissible_purposes": [
- {
- "id": "string",
- "name": "string",
- "default": "string",
- "required_signed_documents": "string",
- "signed_documents": "string"
}
]
}