---
title: "Get resource association"
method: GET
path: "/provisioning/1/associations/single"
tags: ["platform", "application-entity", "resource-association"]
---

# Get resource association

`GET /provisioning/1/associations/single`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/provisioning/1/associations/single`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Get an exact resource association.

## Query parameters

- `resourceType` 'NUMBER' | 'DOMAIN' | 'ALPHA' | 'RCS_RESOURCE' | 'APPLE_RESOURCE', required: The type of resource to be used.
- `channel` 'SMS' | 'MMS' | 'EMAIL' | 'WHATSAPP' | 'RCS' | 'APPLE', required: The channel for which the resource will be used.
- `applicationId` string, required
- `entityId` string
- `resourceId` string, required

## Response `200`

OK

- 2be764ef53499e28cc8da8dff3890f0787860aba10984e520352c73612c0342bResourceAssociationResponse
  - `resourceType` 'NUMBER' | 'DOMAIN' | 'ALPHA' | 'RCS_RESOURCE' | 'APPLE_RESOURCE', required: The type of resource to be used.
  - `channel` 'SMS' | 'MMS' | 'EMAIL' | 'WHATSAPP' | 'RCS' | 'APPLE', required: The channel for which the resource will be used.
  - `applicationId` string, required: The unique identifier of the application. This ID will be a URL path parameter. We recommend using values that do not need URL encoding for easier interaction with other API endpoints.
  - `entityId` string: The unique identifier of the entity. This ID will be a URL path parameter. We recommend using values that do not need URL encoding for easier interaction with other API endpoints.
  - `resourceId` string, required: The unique identifier of the resource. It depends on both the `resourceType` and `channel`.<br/>Use [numberKey](https://www.infobip.com/docs/api/platform-connectivity/numbers/phone-numbers/list-purchased-numbers) for the NUMBER `resourceType`.<br/>Use [domainName](https://www.infobip.com/docs/api/channels/email/get-all-domains) for the DOMAIN `resourceType`, which is available only for the Email channel.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
