Participants
Create mobile participant token
Changed onCreates or returns a participant using the same input behavior as Add Participant, then returns a participant-scoped token for GrowSurf mobile SDK participant endpoints. Use this endpoint from your backend after your mobile app authenticates a signed-in user. The program must have mobile SDK access enabled.
post/campaign/{id}/mobile-participant-token
Request
- Base URLhttps://api.growsurf.com/v2
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/growsurf/apis/growsurf-rest-api/docs/campaign/:id/mobile-participant-token/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
GrowSurf program ID.
Request body
Response
Participant and mobile participant token returned.
Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info