CTRLK

Shared components

Request resources through API

|

View as Markdown

Request resources programmatically using the Resource Request API for automation and scale. Retrieve requirements, upload documents, submit requests, receive status updates, and manage the full lifecycle through the API.


Prerequisites

You need:



API overview

The Resource Request API supports programmatic requests for alphanumeric senders and phone numbers. It provides a structured workflow: retrieve requirements, upload documents, submit requests, receive updates, and manage request status throughout the lifecycle.

The API enables automation at scale. Integrate resource requests directly into your platform workflows, track status through webhooks, and respond to validation feedback programmatically.

NOTE

The Numbers API is also available for number purchase workflows where you need to browse or select specific numbers before purchase. Use the Resource Request API when you want a structured request flow with requirements, document upload, status updates, and lifecycle management.


Supported request types [#supported-request-types-api-overview]

The Resource Request API supports three types of requests, each with different parameter requirements:

Alphanumeric sender registration
ALPHANUMERIC_REGISTRATION
Custom sender names for SMS. Requires country code.

Number purchase
NUMBER_PURCHASE
Phone numbers for SMS, Voice, and MMS. Requires country code, number type, and capabilities.

RCS sender launch
RCS_SENDER_LAUNCH
Activate RCS senders. Requires sender name, country code, traffic origin, and contact emails.


NOTE

WhatsApp numbers are not purchased directly through the Resource Request API. Instead, purchase a standard virtual long number through this API, then follow the WhatsApp multi-step workflow to register and verify it for WhatsApp use.


IMPORTANT

Requesting a USA number (10DLC or Toll-Free) through this API is only the first step. After your number purchase is approved, complete brand registration and campaign registration through USA Sender Registration. Complete registration before sending traffic. Short codes must be purchased through the web interface, not the API.



API workflow

The process of requesting resources through the API follows a structured sequence of endpoints.

1

Get requirements
Retrieve all data and documentation requirements for your resource type.

2

Upload documents
Submit any required documents (if applicable).

3

Submit request
Submit your resource request with all required data.

4

Receive updates
Get notified of status changes through webhook.

5

Update or cancel
Respond to validation feedback or cancel if needed.


Request statuses [#request-statuses-api-workflow]

When you submit a resource request through the API, it progresses through multiple statuses during validation and processing.

StatusDescription
PENDINGRequest is being processed by Infobip. Team may reach out by email for additional data or updates.
PENDING_REVIEWRequest is awaiting review by Infobip after submission. Precedes automatic validation or manual assessment.
AUTOMATIC_VALIDATIONRequest is undergoing automatic validation (data format, field requirements, value limits, and regex compliance).
IN_REVIEWRequest is actively being reviewed by an Infobip team member to verify details, compliance, and completeness.
IN_PROGRESSRequest has passed initial validation and is being processed internally. Approval, allocation, or provisioning is underway.
UPDATE_REQUESTEDAutomatic validation detected issues in submitted data. Requester must update the information. Feedback is provided through the requirementsFeedback array.
UPDATE_REQUESTED_BY_INTERNAL_REVIEWERInfobip reviewer has requested additional information or corrections. Request cannot proceed until updates are submitted. Feedback is provided through the requirementsFeedback array.
COMPLETEDRequest has been successfully processed and finalized. Resource is ready to use.
REJECTEDInfobip has rejected the request. Cannot be updated; you must submit a new request.
CANCELEDRequest has been canceled by requester or system.

For UPDATE_REQUESTED or UPDATE_REQUESTED_BY_INTERNAL_REVIEWER statuses, use the Update resource request endpoint to submit corrections.



Get requirements endpoint

Retrieve all required data and documentation fields for your specific resource type and country before submitting. This prevents validation failures by ensuring you gather all needed information upfront.

  1. Specify the request type (ALPHANUMERIC_REGISTRATION, NUMBER_PURCHASE, or RCS_SENDER_LAUNCH).
  2. Provide required parameters for your resource type.
  3. The API returns a list of required fields with their data types and validation rules.

Possible responses:

  • No requirements needed (Numbers): Empty object returned. The number requires no additional documentation or data.
  • No offer (Numbers): No appropriate offers available for the specified parameters (Error: RES-NUM-LOOKUP404).
  • No registration (Alphanumeric senders): Alphanumeric registration not available for this country (unsupported or country allows any sender).

All requests are validated for syntax correctness, authorization and permissions, required field presence, field-specific rules (length, format, and pattern), and compliance requirements.

Learn more
For detailed request schema, field definitions, and constraints, see Resource Request API - Get requirements.


Upload documents endpoint

Submit required documentation files that will be attached to your resource request. Use this endpoint only if your Get requirements response includes fields of type DOCUMENT.

  1. For each required document field identified in requirements, prepare your document file.
  2. Call the Upload documents endpoint with your file.
  3. The API returns a document ID.
  4. Use this document ID when submitting your resource request.

This two-step process (upload first, then reference in request) ensures documents are properly stored and linked to your request.

Learn more
For endpoint details and examples, see Resource Request API - Upload documents.


Submit resource request endpoint

Submit your resource request with all required data and documents after gathering requirements and uploading any files.

Before submitting:

  • Submit only after you have gathered all requirements and uploaded any required documents.
  • Some numbers do not require additional data. Always call Get requirements first.
  • Submission may incur charges depending on the resource type.
Learn more
For complete request schema, field constraints, and examples, see Resource Request API - Submit resource request.


Receive updates webhook

Subscribe to status update webhooks to be notified when your request status changes, instead of polling the API. When your request status changes, the webhook delivers an event specifying the new status (COMPLETED, REJECTED, UPDATE_REQUESTED, and more).

This allows you to:

  • Monitor request progress in real-time
  • Automatically trigger actions when status changes
  • Reduce polling overhead by receiving push notifications


Update resource request endpoint

Submit corrections or additional information when validation fails or Infobip requests clarification. Use this endpoint when automatic validation detected issues in your submitted data (UPDATE_REQUESTED status) or when an Infobip reviewer requested additional information (UPDATE_REQUESTED_BY_INTERNAL_REVIEWER status).

  1. Call Get resource requests to retrieve validation feedback in the requirementsFeedback array.
  2. Update the problematic fields based on feedback.
  3. Call Update resource request with the request identifier and corrected data.
  4. The request re-enters the validation and review process.

Alternative: For alphanumeric sender requests only, you can also edit directly from the My requests page in the web interface.



Cancel resource request endpoint

Cancel a resource request at any time before completion.

  1. Call Cancel resource request with the request identifier.
  2. Request status changes to CANCELED.
  3. The request is removed from the processing queue.

Alternative: You can also cancel through the web interface for both alphanumeric senders and number purchases.

Learn more
Resource Request API docs: complete endpoint reference for all resource request operations.



Related pages

Track your requests
Monitor status and respond to feedback after submission.

Manage resources
Configure, manage, and route inbound messages after approval.

Numbers
Number types, ownership models, and coverage.