Use an API Key to Make Calls

To use an API key in the Swagger interface:

  1. Log in as an admin and select the appropriate org, if required.

  2. Navigate to Admin > Swagger Docs.

  3. Click the resource from the list to open the Swagger interface in a new tab.

  4. Expand a supported endpoint.

  5. Enter the API key in the x-api-key field to authenticate the call.

  6. Optional: If impersonation is enabled, enter the ID of the user who will be impersonated. Impersonation can only be enabled by a member of Resolver Support. See Impersonation with an API Key for more details.
    The POST /data/file/file endpoint in the file service.
  7. Complete the remainder of the fields as required.

Example

curl -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' --header 'x-api-key: YOUR_API_KEY' --header 'impersonate-user-id: IMPERSONATED_USER_ID' 'https://YOUR_ENVIRONMENT.resolver.com/data/file/file'